#include <DlgEditorImp.h>
Public Member Functions | |
DlgSettingsEditorImp (QWidget *parent=0) | |
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... | |
![]() | |
PreferencePage (QWidget *parent=0) | |
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... | |
Additional Inherited Members | |
![]() |
Constructor & Destructor Documentation
◆ DlgSettingsEditorImp()
DlgSettingsEditorImp::DlgSettingsEditorImp | ( | QWidget * | parent = 0 | ) |
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::~DlgSettingsEditorImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::DlgSettingsEditorP::colormap.
◆ loadSettings()
|
virtual |
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::DlgSettingsEditorP::colormap, ParameterGrp::GetASCII(), Gui::WindowParameter::getDefaultParameter(), ParameterGrp::GetGroup(), ParameterGrp::GetInt(), ParameterGrp::GetUnsigned(), on_fontFamily_activated(), and Gui::SyntaxHighlighter::setColor().
◆ on_colorButton_changed
|
protectedslot |
Updates the color map if a color was changed.
References Gui::Dialog::DlgSettingsEditorP::colormap, and Gui::SyntaxHighlighter::setColor().
◆ on_displayItems_currentItemChanged
|
protectedslot |
Searches for the color value corresponding to name in current editor settings ColorMap and assigns it to the color button.
- See also
- Gui::ColorButton
References Gui::Dialog::DlgSettingsEditorP::colormap.
◆ on_fontFamily_activated
|
protectedslot |
Referenced by loadSettings(), and on_fontSize_valueChanged().
◆ on_fontSize_valueChanged
|
protectedslot |
References on_fontFamily_activated().
◆ saveSettings()
|
virtual |
The documentation for this class was generated from the following files:
- src/Gui/DlgEditorImp.h
- src/Gui/DlgEditorImp.cpp