Gui::Dialog::DlgSettingsEditorImp Class Reference

#include <DlgEditorImp.h>

Inheritance diagram for Gui::Dialog::DlgSettingsEditorImp:
Gui::Dialog::PreferencePage Gui::Dialog::Ui_DlgEditorSettings

List of all members.

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'.
void loadSettings ()
void saveSettings ()
 ~DlgSettingsEditorImp ()
 Destroys the object and frees any allocated resources.

Protected Slots

void on_colorButton_changed ()
 Updates the color map if a color was changed.
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.
void on_fontFamily_activated ()
void on_fontSize_valueChanged ()

Protected Member Functions

void changeEvent (QEvent *e)
 Sets the strings of the subwidgets using the current language.

Detailed Description

Definition at line 40 of file DlgEditorImp.h.


Constructor & Destructor Documentation

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.

Definition at line 56 of file DlgEditorImp.cpp.

References Gui::Dialog::DlgSettingsEditorP::colormap, Gui::Dialog::Ui_DlgEditorSettings::displayItems, Gui::Dialog::Ui_DlgEditorSettings::setupUi(), and Gui::Dialog::Ui_DlgEditorSettings::textEdit1.

DlgSettingsEditorImp::~DlgSettingsEditorImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 131 of file DlgEditorImp.cpp.


Member Function Documentation

void DlgSettingsEditorImp::changeEvent ( QEvent *  e  )  [protected, virtual]

Sets the strings of the subwidgets using the current language.

Implements Gui::Dialog::PreferencePage.

Definition at line 228 of file DlgEditorImp.cpp.

References Gui::Dialog::DlgSettingsEditorP::colormap, Gui::Dialog::Ui_DlgEditorSettings::displayItems, and Gui::Dialog::Ui_DlgEditorSettings::retranslateUi().

void DlgSettingsEditorImp::loadSettings (  )  [virtual]
void DlgSettingsEditorImp::on_colorButton_changed (  )  [protected, slot]
void DlgSettingsEditorImp::on_displayItems_currentItemChanged ( QTreeWidgetItem *  item  )  [protected, slot]

Searches for the color value corresponding to name in current editor settings ColorMap and assigns it to the color button.

See also:
Gui::ColorButton

Definition at line 142 of file DlgEditorImp.cpp.

References Gui::Dialog::Ui_DlgEditorSettings::colorButton, Gui::Dialog::DlgSettingsEditorP::colormap, Gui::Dialog::Ui_DlgEditorSettings::displayItems, and Gui::ColorButton::setColor().

void DlgSettingsEditorImp::on_fontFamily_activated (  )  [protected, slot]
void DlgSettingsEditorImp::on_fontSize_valueChanged (  )  [protected, slot]

Definition at line 248 of file DlgEditorImp.cpp.

References on_fontFamily_activated().

void DlgSettingsEditorImp::saveSettings (  )  [virtual]

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

Generated on Wed Nov 23 19:02:07 2011 for FreeCAD by  doxygen 1.6.1