The DlgSettingsViewColor class implements a preference page to change color settings for the Inventor viewer like background and selection. More...
#include <DlgSettingsViewColor.h>
Public Member Functions | |
DlgSettingsViewColor (QWidget *parent=0) | |
Constructs a DlgSettingsViewColor which is a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
void | loadSettings () |
void | saveSettings () |
~DlgSettingsViewColor () | |
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. |
The DlgSettingsViewColor class implements a preference page to change color settings for the Inventor viewer like background and selection.
Definition at line 38 of file DlgSettingsViewColor.h.
DlgSettingsViewColor::DlgSettingsViewColor | ( | QWidget * | parent = 0 |
) |
Constructs a DlgSettingsViewColor which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
Definition at line 40 of file DlgSettingsViewColor.cpp.
References Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxPreselection, Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxSelection, Gui::Dialog::Ui_DlgSettingsViewColor::HighlightColor, Gui::Dialog::Ui_DlgSettingsViewColor::SelectionColor, and Gui::Dialog::Ui_DlgSettingsViewColor::setupUi().
DlgSettingsViewColor::~DlgSettingsViewColor | ( | ) |
Destroys the object and frees any allocated resources.
Definition at line 51 of file DlgSettingsViewColor.cpp.
void DlgSettingsViewColor::changeEvent | ( | QEvent * | e | ) | [protected, virtual] |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
Definition at line 97 of file DlgSettingsViewColor.cpp.
References Gui::Dialog::Ui_DlgSettingsViewColor::retranslateUi().
void DlgSettingsViewColor::loadSettings | ( | ) | [virtual] |
Implements Gui::Dialog::PreferencePage.
Definition at line 75 of file DlgSettingsViewColor.cpp.
References Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorFrom, Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorMid, Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorTo, Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxPreselection, Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxSelection, Gui::Dialog::Ui_DlgSettingsViewColor::checkMidColor, Gui::Dialog::Ui_DlgSettingsViewColor::ConstructionColor, Gui::Dialog::Ui_DlgSettingsViewColor::EditedEdgeColor, Gui::Dialog::Ui_DlgSettingsViewColor::EditedVertexColor, Gui::Dialog::Ui_DlgSettingsViewColor::FullyConstrainedColor, Gui::Dialog::Ui_DlgSettingsViewColor::HighlightColor, Gui::PrefWidget::onRestore(), Gui::Dialog::Ui_DlgSettingsViewColor::radioButtonGradient, Gui::Dialog::Ui_DlgSettingsViewColor::radioButtonSimple, Gui::Dialog::Ui_DlgSettingsViewColor::SelectionColor, and Gui::Dialog::Ui_DlgSettingsViewColor::SelectionColor_Background.
void DlgSettingsViewColor::saveSettings | ( | ) | [virtual] |
Implements Gui::Dialog::PreferencePage.
Definition at line 56 of file DlgSettingsViewColor.cpp.
References Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorFrom, Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorMid, Gui::Dialog::Ui_DlgSettingsViewColor::backgroundColorTo, Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxPreselection, Gui::Dialog::Ui_DlgSettingsViewColor::checkBoxSelection, Gui::Dialog::Ui_DlgSettingsViewColor::checkMidColor, Gui::Dialog::Ui_DlgSettingsViewColor::ConstructionColor, Gui::Dialog::Ui_DlgSettingsViewColor::EditedEdgeColor, Gui::Dialog::Ui_DlgSettingsViewColor::EditedVertexColor, Gui::Dialog::Ui_DlgSettingsViewColor::FullyConstrainedColor, Gui::Dialog::Ui_DlgSettingsViewColor::HighlightColor, Gui::PrefWidget::onSave(), Gui::Dialog::Ui_DlgSettingsViewColor::radioButtonGradient, Gui::Dialog::Ui_DlgSettingsViewColor::radioButtonSimple, Gui::Dialog::Ui_DlgSettingsViewColor::SelectionColor, and Gui::Dialog::Ui_DlgSettingsViewColor::SelectionColor_Background.