Cppcheck
|
#include <codeeditstyledialog.h>
Public Slots | |
void | resetStyle () |
void | setStyleDefaultLight () |
void | setStyleDefaultDark () |
void | colorChangedWidgetFG (const QColor &newColor) |
void | colorChangedWidgetBG (const QColor &newColor) |
void | colorChangedHighlightBG (const QColor &newColor) |
void | colorChangedLineNumFG (const QColor &newColor) |
void | colorChangedLineNumBG (const QColor &newColor) |
void | colorChangedKeywordFG (const QColor &newColor) |
void | weightChangedKeyword (QFont::Weight newWeight) |
void | colorChangedClassFG (const QColor &newColor) |
void | weightChangedClass (QFont::Weight newWeight) |
void | colorChangedQuoteFG (const QColor &newColor) |
void | weightChangedQuote (QFont::Weight newWeight) |
void | colorChangedCommentFG (const QColor &newColor) |
void | weightChangedComment (QFont::Weight newWeight) |
void | colorChangedSymbolFG (const QColor &newColor) |
void | colorChangedSymbolBG (const QColor &newColor) |
void | weightChangedSymbol (QFont::Weight newWeight) |
Public Member Functions | |
StyleEditDialog (const CodeEditorStyle &newStyle, QWidget *parent=nullptr) | |
CodeEditorStyle | getStyle () |
Private Member Functions | |
void | updateControls () |
void | updateStyle () |
Static Private Attributes | |
static const QString | mSampleDocument |
static const QStringList | mErrSymbolsList |
static const int | mErrLineNum = 16 |
Definition at line 40 of file codeeditstyledialog.h.
|
explicit |
Definition at line 69 of file codeeditstyledialog.cpp.
References colorChangedClassFG(), colorChangedCommentFG(), colorChangedHighlightBG(), colorChangedKeywordFG(), colorChangedLineNumBG(), colorChangedLineNumFG(), colorChangedQuoteFG(), colorChangedSymbolBG(), colorChangedSymbolFG(), colorChangedWidgetBG(), colorChangedWidgetFG(), mBtnClassFG, mBtnCommentFG, mBtnDefaultDark, mBtnDefaultLight, mBtnHighlightBG, mBtnKeywordFG, mBtnLineNumBG, mBtnLineNumFG, mBtnQuoteFG, mBtnSymbolBG, mBtnSymbolFG, mBtnWidgetColorBG, mBtnWidgetColorFG, mCBClassWeight, mCBCommentWeight, mCBKeywordWeight, mCBQuoteWeight, mCBSymbolWeight, mErrLineNum, mErrSymbolsList, mSampleDocument, mSampleEditor, resetStyle(), CodeEditor::setError(), setStyleDefaultDark(), setStyleDefaultLight(), updateControls(), updateStyle(), weightChangedClass(), weightChangedComment(), weightChangedKeyword(), weightChangedQuote(), and weightChangedSymbol().
|
slot |
Definition at line 305 of file codeeditstyledialog.cpp.
References CodeEditorStyle::classColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 329 of file codeeditstyledialog.cpp.
References CodeEditorStyle::commentColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 275 of file codeeditstyledialog.cpp.
References CodeEditorStyle::highlightBGColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 293 of file codeeditstyledialog.cpp.
References CodeEditorStyle::keywordColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 287 of file codeeditstyledialog.cpp.
References CodeEditorStyle::lineNumBGColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 281 of file codeeditstyledialog.cpp.
References CodeEditorStyle::lineNumFGColor, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 317 of file codeeditstyledialog.cpp.
References mStyleOutgoing, CodeEditorStyle::quoteColor, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 347 of file codeeditstyledialog.cpp.
References mStyleOutgoing, CodeEditorStyle::symbolBGColor, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 341 of file codeeditstyledialog.cpp.
References mStyleOutgoing, CodeEditorStyle::symbolFGColor, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 269 of file codeeditstyledialog.cpp.
References mStyleOutgoing, updateStyle(), and CodeEditorStyle::widgetBGColor.
Referenced by StyleEditDialog().
|
slot |
Definition at line 263 of file codeeditstyledialog.cpp.
References mStyleOutgoing, updateStyle(), and CodeEditorStyle::widgetFGColor.
Referenced by StyleEditDialog().
CodeEditorStyle StyleEditDialog::getStyle | ( | ) |
Definition at line 237 of file codeeditstyledialog.cpp.
References mStyleOutgoing.
Referenced by SettingsDialog::editCodeEditorStyle().
|
slot |
Definition at line 242 of file codeeditstyledialog.cpp.
References mStyleIncoming, mStyleOutgoing, updateControls(), and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 256 of file codeeditstyledialog.cpp.
References defaultStyleDark(), mStyleOutgoing, updateControls(), and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 249 of file codeeditstyledialog.cpp.
References defaultStyleLight(), mStyleOutgoing, updateControls(), and updateStyle().
Referenced by StyleEditDialog().
|
private |
Definition at line 209 of file codeeditstyledialog.cpp.
References CodeEditorStyle::classColor, CodeEditorStyle::classWeight, CodeEditorStyle::commentColor, CodeEditorStyle::commentWeight, CodeEditorStyle::highlightBGColor, CodeEditorStyle::keywordColor, CodeEditorStyle::keywordWeight, CodeEditorStyle::lineNumBGColor, CodeEditorStyle::lineNumFGColor, mBtnClassFG, mBtnCommentFG, mBtnHighlightBG, mBtnKeywordFG, mBtnLineNumBG, mBtnLineNumFG, mBtnQuoteFG, mBtnSymbolBG, mBtnSymbolFG, mBtnWidgetColorBG, mBtnWidgetColorFG, mCBClassWeight, mCBCommentWeight, mCBKeywordWeight, mCBQuoteWeight, mCBSymbolWeight, mStyleOutgoing, CodeEditorStyle::quoteColor, CodeEditorStyle::quoteWeight, SelectColorButton::setColor(), SelectFontWeightCombo::setWeight(), CodeEditorStyle::symbolBGColor, CodeEditorStyle::symbolFGColor, CodeEditorStyle::symbolWeight, CodeEditorStyle::widgetBGColor, and CodeEditorStyle::widgetFGColor.
Referenced by resetStyle(), setStyleDefaultDark(), setStyleDefaultLight(), and StyleEditDialog().
|
private |
Definition at line 229 of file codeeditstyledialog.cpp.
References defaultStyleDark(), defaultStyleLight(), mBtnDefaultDark, mBtnDefaultLight, mSampleEditor, mStyleOutgoing, and CodeEditor::setStyle().
Referenced by colorChangedClassFG(), colorChangedCommentFG(), colorChangedHighlightBG(), colorChangedKeywordFG(), colorChangedLineNumBG(), colorChangedLineNumFG(), colorChangedQuoteFG(), colorChangedSymbolBG(), colorChangedSymbolFG(), colorChangedWidgetBG(), colorChangedWidgetFG(), resetStyle(), setStyleDefaultDark(), setStyleDefaultLight(), StyleEditDialog(), weightChangedClass(), weightChangedComment(), weightChangedKeyword(), weightChangedQuote(), and weightChangedSymbol().
|
slot |
Definition at line 311 of file codeeditstyledialog.cpp.
References CodeEditorStyle::classWeight, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 335 of file codeeditstyledialog.cpp.
References CodeEditorStyle::commentWeight, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 299 of file codeeditstyledialog.cpp.
References CodeEditorStyle::keywordWeight, mStyleOutgoing, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 323 of file codeeditstyledialog.cpp.
References mStyleOutgoing, CodeEditorStyle::quoteWeight, and updateStyle().
Referenced by StyleEditDialog().
|
slot |
Definition at line 353 of file codeeditstyledialog.cpp.
References mStyleOutgoing, CodeEditorStyle::symbolWeight, and updateStyle().
Referenced by StyleEditDialog().
|
private |
Definition at line 86 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 90 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 97 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateStyle().
|
private |
Definition at line 96 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateStyle().
|
private |
Definition at line 81 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 84 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 83 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 82 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 88 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 93 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 92 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 80 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 79 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 87 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 91 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 85 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 89 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
private |
Definition at line 94 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateControls().
|
staticprivate |
Definition at line 101 of file codeeditstyledialog.h.
Referenced by StyleEditDialog().
|
staticprivate |
Definition at line 100 of file codeeditstyledialog.h.
Referenced by StyleEditDialog().
|
staticprivate |
Definition at line 99 of file codeeditstyledialog.h.
Referenced by StyleEditDialog().
|
private |
Definition at line 77 of file codeeditstyledialog.h.
Referenced by StyleEditDialog(), and updateStyle().
|
private |
Definition at line 74 of file codeeditstyledialog.h.
Referenced by resetStyle().
|
private |
Definition at line 75 of file codeeditstyledialog.h.
Referenced by colorChangedClassFG(), colorChangedCommentFG(), colorChangedHighlightBG(), colorChangedKeywordFG(), colorChangedLineNumBG(), colorChangedLineNumFG(), colorChangedQuoteFG(), colorChangedSymbolBG(), colorChangedSymbolFG(), colorChangedWidgetBG(), colorChangedWidgetFG(), getStyle(), resetStyle(), setStyleDefaultDark(), setStyleDefaultLight(), updateControls(), updateStyle(), weightChangedClass(), weightChangedComment(), weightChangedKeyword(), weightChangedQuote(), and weightChangedSymbol().