#include <DlgEditorImp.h>
Public Member Functions | |
| DlgSettingsEditorImp (QWidget *parent=nullptr) | |
| Constructs a DlgSettingsEditorImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
| void | loadSettings () |
| void | saveSettings () |
| ~DlgSettingsEditorImp () | |
| Destroys the object and frees any allocated resources. More... | |
Public Member Functions inherited from Gui::Dialog::PreferencePage | |
| PreferencePage (QWidget *parent=nullptr) | |
| Construction. More... | |
| virtual | ~PreferencePage () |
| Destruction. More... | |
Protected Slots | |
| void | on_colorButton_changed () |
| Updates the color map if a color was changed. More... | |
| void | on_displayItems_currentItemChanged (QTreeWidgetItem *i) |
| Searches for the color value corresponding to name in current editor settings ColorMap and assigns it to the color button. More... | |
| void | on_fontFamily_activated (const QString &) |
| void | on_fontSize_valueChanged (const QString &) |
Protected Member Functions | |
| void | changeEvent (QEvent *e) |
| Sets the strings of the subwidgets using the current language. More... | |
| void | setEditorTabWidth (int) |
| virtual void | changeEvent (QEvent *e)=0 |
Additional Inherited Members | |
Public Slots inherited from Gui::Dialog::PreferencePage | |
| virtual void | loadSettings ()=0 |
| virtual void | saveSettings ()=0 |
| DlgSettingsEditorImp::DlgSettingsEditorImp | ( | QWidget * | parent = nullptr | ) |
Constructs a DlgSettingsEditorImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
The dialog will by default be modeless, unless you set 'modal' to true to construct a modal dialog.
References Gui::Dialog::DlgSettingsEditorP::colormap.
| DlgSettingsEditorImp::~DlgSettingsEditorImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protectedvirtual |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::DlgSettingsEditorP::colormap.
|
virtual |
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::DlgSettingsEditorP::colormap, ParameterGrp::GetASCII(), Gui::WindowParameter::getDefaultParameter(), ParameterGrp::GetGroup(), ParameterGrp::GetInt(), ParameterGrp::GetUnsigned(), on_fontFamily_activated(), Gui::SyntaxHighlighter::setColor(), and setEditorTabWidth().
|
protectedslot |
Updates the color map if a color was changed.
References Gui::Dialog::DlgSettingsEditorP::colormap, and Gui::SyntaxHighlighter::setColor().
|
protectedslot |
Searches for the color value corresponding to name in current editor settings ColorMap and assigns it to the color button.
References Gui::Dialog::DlgSettingsEditorP::colormap.
|
protectedslot |
Referenced by loadSettings(), and on_fontSize_valueChanged().
|
protectedslot |
References on_fontFamily_activated().
|
virtual |
|
protected |
References Gui::QtTools::horizontalAdvance().
Referenced by loadSettings(), and saveSettings().