Gui::Dialog::DlgSettingsUnitsImp Class Reference

The DlgSettingsUnitsImp class implements a preference page to change settings for the Unit system. More...

#include <DlgSettingsUnitsImp.h>

Inheritance diagram for Gui::Dialog::DlgSettingsUnitsImp:
Gui::Dialog::PreferencePage Gui::Dialog::Ui_DlgSettingsUnits

List of all members.

Public Slots

void currentIndexChanged (int index)

Public Member Functions

 DlgSettingsUnitsImp (QWidget *parent=0)
 Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
void loadSettings ()
void saveSettings ()
 ~DlgSettingsUnitsImp ()
 Destroys the object and frees any allocated resources.

Protected Member Functions

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

Detailed Description

The DlgSettingsUnitsImp class implements a preference page to change settings for the Unit system.

Author:
Jürgen Riegel

Definition at line 38 of file DlgSettingsUnitsImp.h.


Constructor & Destructor Documentation

DlgSettingsUnitsImp::DlgSettingsUnitsImp ( QWidget *  parent = 0  ) 

Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.

Definition at line 47 of file DlgSettingsUnitsImp.cpp.

References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, draftlibs::fcgeo::connect(), currentIndexChanged(), retranslate(), and Gui::Dialog::Ui_DlgSettingsUnits::setupUi().

DlgSettingsUnitsImp::~DlgSettingsUnitsImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 63 of file DlgSettingsUnitsImp.cpp.


Member Function Documentation

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

Sets the strings of the subwidgets using the current language.

Implements Gui::Dialog::PreferencePage.

Definition at line 111 of file DlgSettingsUnitsImp.cpp.

References retranslate(), and Gui::Dialog::Ui_DlgSettingsUnits::retranslateUi().

void DlgSettingsUnitsImp::currentIndexChanged ( int  index  )  [slot]

Definition at line 80 of file DlgSettingsUnitsImp.cpp.

References fillUpListBox().

Referenced by DlgSettingsUnitsImp().

void DlgSettingsUnitsImp::fillUpListBox ( void   )  [protected]
void DlgSettingsUnitsImp::loadSettings (  )  [virtual]
void DlgSettingsUnitsImp::retranslate (  )  [protected]

Definition at line 122 of file DlgSettingsUnitsImp.cpp.

Referenced by changeEvent(), and DlgSettingsUnitsImp().

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