itom
Loading...
Searching...
No Matches
ito::WidgetPropEditorStyles Class Reference
Inheritance diagram for ito::WidgetPropEditorStyles:
ito::AbstractPropertyPageWidget

Classes

struct  StyleNode
 

Public Member Functions

 WidgetPropEditorStyles (QWidget *parent=NULL)
 
void readSettings ()
 
void writeSettings ()
 
- Public Member Functions inherited from ito::AbstractPropertyPageWidget
 AbstractPropertyPageWidget (QWidget *parent=NULL, Qt::WindowFlags f=Qt::WindowFlags())
 

Private Slots

void on_listWidget_currentItemChanged (QListWidgetItem *current, QListWidgetItem *previous)
 
void on_btnBackgroundColor_colorChanged (QColor color)
 
void on_btnFont_clicked ()
 
void on_btnForegroundColor_colorChanged (QColor color)
 
void on_btnFontSizeDec_clicked ()
 
void on_btnFontSizeInc_clicked ()
 
void on_btnReset_clicked ()
 
void on_btnImport_clicked ()
 
void on_btnExport_clicked ()
 
void on_btnTextBackgroundsTransparent_clicked ()
 

Private Member Functions

void setFontSizeGeneral (const int fontSizeAdd)
 
void writeSettingsInternal (const QString &filename)
 
void readSettingsInternal (const QString &filename)
 
QString colorStringMixedWithPaperBgColor (const QColor &color)
 

Private Attributes

Ui::WidgetPropEditorStyles ui
 
QVector< StyleNodem_styles
 
bool m_changing
 
CodeEditorStylem_pCodeEditorStyle
 
QColor m_paperBgcolor
 
QColor m_markerScriptErrorBgcolor
 
QColor m_markerCurrentBgcolor
 
QColor m_markerInputBgcolor
 
QColor m_markerErrorBgcolor
 
QColor m_whitespaceFgcolor
 
QColor m_whitespaceBgcolor
 
QColor m_matchedBraceFgcolor
 
QColor m_matchedBraceBgcolor
 
QColor m_unmatchedBraceFgcolor
 
QColor m_unmatchedBraceBgcolor
 
QColor m_caretBgcolor
 
QColor m_caretFgcolor
 
QColor m_selectionBgcolor
 
QColor m_selectionFgcolor
 
QColor m_markerSameStringBgcolor
 

Member Function Documentation

◆ readSettings()

void ito::WidgetPropEditorStyles::readSettings ( )
virtual

This method is called at startup of the property dialog. Read the setting file using QSetting in order to initialize your property widget (this method must be overwritten)

Implements ito::AbstractPropertyPageWidget.

◆ writeSettings()

void ito::WidgetPropEditorStyles::writeSettings ( )
virtual

This method is called at shutdown of the property dialog (only if apply or ok has been clicked). Apply your settings and write it to the setting file using QSetting (this method must be overwritten)

Implements ito::AbstractPropertyPageWidget.


The documentation for this class was generated from the following files: