Cppcheck
Classes | Functions
codeeditorstyle.h File Reference
#include <QColor>
#include <QFont>
#include <QString>
#include <Qt>

Go to the source code of this file.

Classes

class  CodeEditorStyle
 

Functions

const QString SETTINGS_STYLE_GROUP ("EditorStyle")
 
const QString SETTINGS_STYLE_TYPE ("StyleType")
 
const QString SETTINGS_STYLE_TYPE_LIGHT ("DefaultLight")
 
const QString SETTINGS_STYLE_TYPE_DARK ("DefaultDark")
 
const QString SETTINGS_STYLE_TYPE_CUSTOM ("Custom")
 
const QString SETTINGS_STYLE_WIDGETFG ("StyleWidgetFG")
 
const QString SETTINGS_STYLE_WIDGETBG ("StyleWidgetBG")
 
const QString SETTINGS_STYLE_HILIFG ("StyleHighlightFG")
 
const QString SETTINGS_STYLE_LINENUMFG ("StyleLineNumFG")
 
const QString SETTINGS_STYLE_LINENUMBG ("StyleLineNumBG")
 
const QString SETTINGS_STYLE_KEYWORDFG ("StyleKeywordFG")
 
const QString SETTINGS_STYLE_KEYWORDWT ("StyleKeywordWeight")
 
const QString SETTINGS_STYLE_CLASSFG ("StyleClassFG")
 
const QString SETTINGS_STYLE_CLASSWT ("StyleClassWeight")
 
const QString SETTINGS_STYLE_QUOTEFG ("StyleQuoteFG")
 
const QString SETTINGS_STYLE_QUOTEWT ("StyleQuoteWeight")
 
const QString SETTINGS_STYLE_COMMENTFG ("StyleCommentFG")
 
const QString SETTINGS_STYLE_COMMENTWT ("StyleCommentWeight")
 
const QString SETTINGS_STYLE_SYMBOLFG ("StyleSymbolFG")
 
const QString SETTINGS_STYLE_SYMBOLBG ("StyleSymbolBG")
 
const QString SETTINGS_STYLE_SYMBOLWT ("StyleSymbolWeight")
 
static const CodeEditorStyle defaultStyleLight (Qt::black, QColor(240, 240, 240), QColor(255, 220, 220), Qt::black, QColor(240, 240, 240), Qt::darkBlue, QFont::Bold, Qt::darkMagenta, QFont::Bold, Qt::darkGreen, QFont::Normal, Qt::gray, QFont::Normal, Qt::red, QColor(220, 220, 255), QFont::Normal)
 
static const CodeEditorStyle defaultStyleDark (QColor(218, 218, 218), QColor(16, 16, 32), QColor(64, 64, 64), QColor(43, 145, 175), QColor(16, 16, 32), QColor(0, 204, 204), QFont::Bold, QColor(218, 0, 218), QFont::Bold, QColor(0, 204, 0), QFont::Normal, QColor(180, 180, 180), QFont::Normal, QColor(218, 32, 32), QColor(32, 32, 108), QFont::Normal)
 

Function Documentation

◆ defaultStyleDark()

static const CodeEditorStyle defaultStyleDark ( QColor(218, 218, 218)  ,
QColor(16, 16, 32)  ,
QColor(64, 64, 64)  ,
QColor(43, 145, 175)  ,
QColor(16, 16, 32)  ,
QColor(0, 204, 204)  ,
QFont::Bold  ,
QColor(218, 0, 218)  ,
QFont::Bold  ,
QColor(0, 204, 0)  ,
QFont::Normal  ,
QColor(180, 180, 180)  ,
QFont::Normal  ,
QColor(218, 32, 32)  ,
QColor(32, 32, 108)  ,
QFont::Normal   
)
static

◆ defaultStyleLight()

static const CodeEditorStyle defaultStyleLight ( Qt::black  ,
QColor(240, 240, 240)  ,
QColor(255, 220, 220)  ,
Qt::black  ,
QColor(240, 240, 240)  ,
Qt::darkBlue  ,
QFont::Bold  ,
Qt::darkMagenta  ,
QFont::Bold  ,
Qt::darkGreen  ,
QFont::Normal  ,
Qt::gray  ,
QFont::Normal  ,
Qt::red  ,
QColor(220, 220, 255)  ,
QFont::Normal   
)
static

◆ SETTINGS_STYLE_CLASSFG()

const QString SETTINGS_STYLE_CLASSFG ( "StyleClassFG"  )

◆ SETTINGS_STYLE_CLASSWT()

const QString SETTINGS_STYLE_CLASSWT ( "StyleClassWeight"  )

◆ SETTINGS_STYLE_COMMENTFG()

const QString SETTINGS_STYLE_COMMENTFG ( "StyleCommentFG"  )

◆ SETTINGS_STYLE_COMMENTWT()

const QString SETTINGS_STYLE_COMMENTWT ( "StyleCommentWeight"  )

◆ SETTINGS_STYLE_GROUP()

const QString SETTINGS_STYLE_GROUP ( "EditorStyle"  )

◆ SETTINGS_STYLE_HILIFG()

const QString SETTINGS_STYLE_HILIFG ( "StyleHighlightFG"  )

◆ SETTINGS_STYLE_KEYWORDFG()

const QString SETTINGS_STYLE_KEYWORDFG ( "StyleKeywordFG"  )

◆ SETTINGS_STYLE_KEYWORDWT()

const QString SETTINGS_STYLE_KEYWORDWT ( "StyleKeywordWeight"  )

◆ SETTINGS_STYLE_LINENUMBG()

const QString SETTINGS_STYLE_LINENUMBG ( "StyleLineNumBG"  )

◆ SETTINGS_STYLE_LINENUMFG()

const QString SETTINGS_STYLE_LINENUMFG ( "StyleLineNumFG"  )

◆ SETTINGS_STYLE_QUOTEFG()

const QString SETTINGS_STYLE_QUOTEFG ( "StyleQuoteFG"  )

◆ SETTINGS_STYLE_QUOTEWT()

const QString SETTINGS_STYLE_QUOTEWT ( "StyleQuoteWeight"  )

◆ SETTINGS_STYLE_SYMBOLBG()

const QString SETTINGS_STYLE_SYMBOLBG ( "StyleSymbolBG"  )

◆ SETTINGS_STYLE_SYMBOLFG()

const QString SETTINGS_STYLE_SYMBOLFG ( "StyleSymbolFG"  )

◆ SETTINGS_STYLE_SYMBOLWT()

const QString SETTINGS_STYLE_SYMBOLWT ( "StyleSymbolWeight"  )

◆ SETTINGS_STYLE_TYPE()

const QString SETTINGS_STYLE_TYPE ( "StyleType"  )

◆ SETTINGS_STYLE_TYPE_CUSTOM()

const QString SETTINGS_STYLE_TYPE_CUSTOM ( "Custom"  )

◆ SETTINGS_STYLE_TYPE_DARK()

const QString SETTINGS_STYLE_TYPE_DARK ( "DefaultDark"  )

◆ SETTINGS_STYLE_TYPE_LIGHT()

const QString SETTINGS_STYLE_TYPE_LIGHT ( "DefaultLight"  )

◆ SETTINGS_STYLE_WIDGETBG()

const QString SETTINGS_STYLE_WIDGETBG ( "StyleWidgetBG"  )

◆ SETTINGS_STYLE_WIDGETFG()

const QString SETTINGS_STYLE_WIDGETFG ( "StyleWidgetFG"  )