ClassOptionsPage Class Reference
A dialog page to display options for a UMLWidget and its children. A dialog page to display the options for a UMLWidget. More...
#include <classoptionspage.h>
Public Member Functions | |
| ClassOptionsPage (QWidget *pParent, ClassifierWidget *pWidget) | |
| Constructor - observe and modify a Widget. | |
| ClassOptionsPage (QWidget *pParent, Settings::OptionState *options) | |
| Constructor - observe and modify an OptionState structure. | |
| virtual | ~ClassOptionsPage () |
| destructor | |
| void | updateUMLWidget () |
| Updates the widget with the dialog page properties. | |
| void | setWidget (ClassifierWidget *pWidget) |
| Sets the widget to be used. | |
Protected Member Functions | |
| void | init () |
| Initialize optional items. | |
| void | setupPage () |
| Creates the page with the correct options for the class/interface. | |
| void | setupClassPageOption () |
| Creates the page based on the OptionState. | |
| void | updateWidget () |
| Sets the ClassifierWidget's properties to those selected in this dialog page. | |
| void | updateOptionState () |
| Sets the OptionState to the values selected in this dialog page. | |
Protected Attributes | |
| QGroupBox * | m_pVisibilityGB |
| QCheckBox * | m_pShowVisibilityCB |
| QCheckBox * | m_pShowAttSigCB |
| QCheckBox * | m_pShowOpSigCB |
| QCheckBox * | m_pShowAttsCB |
| QCheckBox * | m_pShowOpsCB |
| QCheckBox * | m_pShowStereotypeCB |
| QCheckBox * | m_pShowPackageCB |
| QCheckBox * | m_pDrawAsCircleCB |
| ClassifierWidget * | m_pWidget |
| The classifier widget to represent in the dialog page. | |
| Settings::OptionState * | m_options |
| The OptionState structure to represent in the dialog page. | |
Detailed Description
A dialog page to display options for a UMLWidget and its children. A dialog page to display the options for a UMLWidget.This is not normally called by you. It is used by the ClassPropDlg.
- Author:
- Paul Hensgen <phensgen@techie.com>
- See also:
- ClassPropDlg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 34 of file classoptionspage.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructor - observe and modify a Widget.
Definition at line 25 of file classoptionspage.cpp. References init(), m_pWidget, and setupPage(). |
|
||||||||||||
|
Constructor - observe and modify an OptionState structure.
Definition at line 33 of file classoptionspage.cpp. References init(), m_options, and setupClassPageOption(). |
|
|
destructor
Definition at line 49 of file classoptionspage.cpp. |
Member Function Documentation
|
|
Updates the widget with the dialog page properties.
Definition at line 157 of file classoptionspage.cpp. References m_options, m_pWidget, updateOptionState(), and updateWidget(). Referenced by UMLViewDialog::applyPage(), and ClassPropDlg::slotApply(). |
|
|
Sets the widget to be used. Only used by UMLView to set settings of a widget. Definition at line 60 of file classoptionspage.h. References m_pWidget. |
|
|
Initialize optional items.
Definition at line 40 of file classoptionspage.cpp. References m_options, and m_pWidget. Referenced by ClassOptionsPage(). |
|
|
Creates the page with the correct options for the class/interface.
Definition at line 51 of file classoptionspage.cpp. References WidgetBase::getBaseType(), ClassifierWidget::getDrawAsCircle(), ClassifierWidget::getShowAtts(), ClassifierWidget::getShowAttSigs(), UMLWidget::getShowStereotype(), and m_pWidget. Referenced by ClassOptionsPage(). |
|
|
Creates the page based on the OptionState.
Definition at line 114 of file classoptionspage.cpp. References m_options. Referenced by ClassOptionsPage(). |
|
|
Sets the ClassifierWidget's properties to those selected in this dialog page.
Definition at line 165 of file classoptionspage.cpp. References WidgetBase::getBaseType(), m_pWidget, ClassifierWidget::setDrawAsCircle(), ClassifierWidget::setShowAtts(), ClassifierWidget::setShowAttSigs(), ClassifierWidget::setShowOps(), ClassifierWidget::setShowOpSigs(), ClassifierWidget::setShowPackage(), UMLWidget::setShowStereotype(), and ClassifierWidget::setShowVisibility(). Referenced by updateUMLWidget(). |
|
|
Sets the OptionState to the values selected in this dialog page.
Definition at line 181 of file classoptionspage.cpp. References m_options. Referenced by updateUMLWidget(). |
Member Data Documentation
|
|
The classifier widget to represent in the dialog page.
Definition at line 100 of file classoptionspage.h. Referenced by ClassOptionsPage(), init(), setupPage(), setWidget(), updateUMLWidget(), and updateWidget(). |
|
|
The OptionState structure to represent in the dialog page.
Definition at line 104 of file classoptionspage.h. Referenced by ClassOptionsPage(), init(), setupClassPageOption(), updateOptionState(), and updateUMLWidget(). |
The documentation for this class was generated from the following files:
