Provides functionalities to generate the contents for a source-highlight style file. More...
#include <Qt4SourceHighlightStyleGenerator.h>
Static Public Member Functions | |
static QStringList | createStyleContents (QList< Qt4TextFormatter * > &formatters, const QString &bgColor="") |
Generates a string list given a list of Qt4TextFormatter. |
Provides functionalities to generate the contents for a source-highlight style file.
QStringList srchiliteqt::Qt4SourceHighlightStyleGenerator::createStyleContents | ( | QList< Qt4TextFormatter * > & | formatters, | |
const QString & | bgColor = "" | |||
) | [static] |
Generates a string list given a list of Qt4TextFormatter.
formatters | a list of Qt4TextFormatter | |
bgColor | the background color for the document |