Gui::WindowParameter Class Reference

Adapter class to the parameter of FreeCAD for all windows Retrieve the parameter group of the specific window by the windowname. More...

#include <Window.h>

Inheritance diagram for Gui::WindowParameter:
Gui::Dialog::DlgMacroExecuteImp Gui::Dialog::DlgMacroRecordImp Gui::Dialog::DlgTipOfTheDayImp Gui::DockWnd::ReportOutput Gui::EditorView Gui::PrefWidget Gui::PythonConsole Gui::StatusBarObserver Gui::TextEditor WebGui::BrowserView

List of all members.

Public Member Functions

ParameterGrp::handle getWindowParameter (void)
 return the parameter group of this window
void OnChange (Base::Subject< const char * > &rCaller, const char *sReason)
bool setGroupName (const char *name)
 Sets the group of the window to name.
 WindowParameter (const char *name)
virtual ~WindowParameter ()

Static Public Member Functions

static ParameterGrp::handle getDefaultParameter (void)
 get the parameters

Detailed Description

Adapter class to the parameter of FreeCAD for all windows Retrieve the parameter group of the specific window by the windowname.

Author:
Jürgen Riegel

Definition at line 37 of file Window.h.


Constructor & Destructor Documentation

WindowParameter::WindowParameter ( const char *  name  ) 

Definition at line 42 of file Window.cpp.

References getDefaultParameter().

WindowParameter::~WindowParameter (  )  [virtual]

Definition at line 53 of file Window.cpp.


Member Function Documentation

ParameterGrp::handle WindowParameter::getDefaultParameter ( void   )  [static]
ParameterGrp::handle WindowParameter::getWindowParameter ( void   ) 

return the parameter group of this window

Definition at line 78 of file Window.cpp.

Referenced by Gui::Dialog::DlgMacroExecuteImp::DlgMacroExecuteImp(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::Dialog::DlgTipOfTheDayImp::DlgTipOfTheDayImp(), Gui::EditorView::EditorView(), Gui::TextEditor::keyPressEvent(), Gui::Dialog::DlgMacroExecuteImp::on_fileChooser_fileNameChanged(), Gui::Dialog::DlgMacroRecordImp::on_pushButtonChooseDir_clicked(), Gui::TextEditor::OnChange(), Gui::PythonConsole::OnChange(), Gui::EditorView::OnChange(), Gui::PrefWidget::onRestore(), Gui::PrefWidget::onSave(), Gui::DockWnd::ReportOutput::onToggleError(), Gui::DockWnd::ReportOutput::onToggleGoToEnd(), Gui::DockWnd::ReportOutput::onToggleLogging(), Gui::DockWnd::ReportOutput::onToggleRedirectPythonStderr(), Gui::DockWnd::ReportOutput::onToggleRedirectPythonStdout(), Gui::DockWnd::ReportOutput::onToggleWarning(), Gui::PythonConsole::PythonConsole(), Gui::DockWnd::ReportOutput::ReportOutput(), Gui::PrefColorButton::restorePreferences(), Gui::PrefSlider::restorePreferences(), Gui::PrefRadioButton::restorePreferences(), Gui::PrefCheckBox::restorePreferences(), Gui::PrefComboBox::restorePreferences(), Gui::PrefFileChooser::restorePreferences(), Gui::PrefLineEdit::restorePreferences(), Gui::PrefDoubleSpinBox::restorePreferences(), Gui::PrefSpinBox::restorePreferences(), Gui::PrefColorButton::savePreferences(), Gui::PrefSlider::savePreferences(), Gui::PrefRadioButton::savePreferences(), Gui::PrefCheckBox::savePreferences(), Gui::PrefComboBox::savePreferences(), Gui::PrefFileChooser::savePreferences(), Gui::PrefLineEdit::savePreferences(), Gui::PrefDoubleSpinBox::savePreferences(), Gui::PrefSpinBox::savePreferences(), Gui::PrefWidget::setParamGrpPath(), Gui::StatusBarObserver::StatusBarObserver(), Gui::TextEditor::TextEditor(), Gui::Dialog::DlgTipOfTheDayImp::~DlgTipOfTheDayImp(), Gui::EditorView::~EditorView(), Gui::PrefWidget::~PrefWidget(), Gui::PythonConsole::~PythonConsole(), Gui::PythonEditor::~PythonEditor(), Gui::DockWnd::ReportOutput::~ReportOutput(), Gui::StatusBarObserver::~StatusBarObserver(), and Gui::TextEditor::~TextEditor().

void WindowParameter::OnChange ( Base::Subject< const char * > &  rCaller,
const char *  sReason 
)
bool WindowParameter::setGroupName ( const char *  name  ) 

Sets the group of the window to name.

Definition at line 58 of file Window.cpp.

References App::GetApplication(), getDefaultParameter(), App::Application::GetParameterGroupByPath(), and Base::Reference< T >::isValid().

Referenced by Gui::PrefWidget::setParamGrpPath().


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

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