23 #ifndef WIDGETPROPEDITORSTYLES_H 24 #define WIDGETPROPEDITORSTYLES_H 26 #include "abstractPropertyPageWidget.h" 38 #define QSCINTILLA_DLL //http://www.riverbankcomputing.com/pipermail/qscintilla/2007-March/000034.html 40 #include <Qsci/qsciscintilla.h> 41 #include <Qsci/qscilexerpython.h> 46 #include "ui_widgetPropEditorStyles.h" 58 StyleNode(
int index, QString name, QFont font,
bool fillToEOL, QColor foregroundColor, QColor backgroundColor) : m_index(index), m_name(name), m_font(font), m_fillToEOL(fillToEOL), m_foregroundColor(foregroundColor), m_backgroundColor(backgroundColor) {}
60 StyleNode(
int index, QString name) : m_index(index), m_name(name), m_fillToEOL(0) {}
65 QColor m_foregroundColor;
66 QColor m_backgroundColor;
78 Ui::WidgetPropEditorStyles ui;
80 QVector<StyleNode> m_styles;
82 QsciLexerPython* qSciLex;
85 void setFontSizeGeneral(
const int fontSizeAdd);
87 void writeSettingsInternal(
const QString &filename);
88 void readSettingsInternal(
const QString &filename);
90 QColor m_paperBgcolor;
91 QColor m_foldMarginFgcolor;
92 QColor m_foldMarginBgcolor;
93 QColor m_marginFgcolor;
94 QColor m_marginBgcolor;
95 QColor m_markerCurrentBgcolor;
96 QColor m_markerInputBgcolor;
97 QColor m_markerErrorBgcolor;
98 QColor m_whitespaceFgcolor;
99 QColor m_matchedBraceFgcolor;
100 QColor m_matchedBraceBgcolor;
101 QColor m_unmatchedBraceFgcolor;
102 QColor m_unmatchedBraceBgcolor;
103 QColor m_caretBgcolor;
104 QColor m_caretFgcolor;
105 QColor m_selectionBgcolor;
106 QColor m_selectionFgcolor;
107 QColor m_markerSameStringBgcolor;
114 void on_listWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
115 void on_btnBackgroundColor_colorChanged(QColor color);
116 void on_btnFont_clicked();
117 void on_btnForegroundColor_colorChanged(QColor color);
118 void on_checkFillEOL_stateChanged(
int state);
119 void on_btnFontSizeDec_clicked();
120 void on_btnFontSizeInc_clicked();
121 void on_btnReset_clicked();
122 void on_btnImport_clicked();
123 void on_btnExport_clicked();
Definition: abstractPropertyPageWidget.h:31
Definition: apiFunctionsGraph.cpp:39