Gui::Dialog::DlgSettingsEditorImp Class Reference

#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
 

Constructor & Destructor Documentation

◆ DlgSettingsEditorImp()

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::~DlgSettingsEditorImp ( )

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ changeEvent()

void DlgSettingsEditorImp::changeEvent ( QEvent e)
protectedvirtual

Sets the strings of the subwidgets using the current language.

Implements Gui::Dialog::PreferencePage.

References Gui::Dialog::DlgSettingsEditorP::colormap.

◆ loadSettings()

◆ on_colorButton_changed

void DlgSettingsEditorImp::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

void DlgSettingsEditorImp::on_displayItems_currentItemChanged ( QTreeWidgetItem item)
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

void DlgSettingsEditorImp::on_fontFamily_activated ( const QString &  fontFamily)
protectedslot

◆ on_fontSize_valueChanged

void DlgSettingsEditorImp::on_fontSize_valueChanged ( const QString &  )
protectedslot

◆ saveSettings()

◆ setEditorTabWidth()

void DlgSettingsEditorImp::setEditorTabWidth ( int  tabWidth)
protected

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