UMLViewDialog Class Reference
#include <umlviewdialog.h>
Public Slots | |
| void | slotOk () |
| void | slotApply () |
Public Member Functions | |
| UMLViewDialog (QWidget *pParent, UMLView *pView) | |
| Constructor. | |
| ~UMLViewDialog () | |
| Deconstructor. | |
Protected Types | |
| enum | Page { General = 0, Color, Font, Class } |
Protected Member Functions | |
| void | setupPages () |
| Sets up the dialog pages. | |
| void | setupDiagramPropertiesPage () |
| Sets up the general Diagram Properties Page. | |
| void | setupClassPage () |
| Sets up the Class page. | |
| void | setupColorPage () |
| Sets up the color page. | |
| void | setupFontPage () |
| Sets up font page. | |
| void | applyPage (Page page) |
| Applys the properties of the given page. | |
| void | checkName () |
| Checks whether the name is unique and sets it if it is. | |
Protected Attributes | |
| UMLView * | m_pView |
| The view to represent. | |
| Settings::OptionState | m_options |
| KFontChooser * | m_pChooser |
| DiagramPropertiesPage * | m_diagramProperties |
| ClassOptionsPage * | m_pOptionsPage |
| UMLWidgetColorPage * | m_pColorPage |
| QLabel * | m_pNameL |
| QLabel * | m_pSpinXL |
| QLabel * | m_pSpinYL |
| QLineEdit * | m_pNameLE |
| QGroupBox * | m_pDocGB |
| QGroupBox * | m_pValuesGB |
| QCheckBox * | m_pSnapToGridCB |
| QCheckBox * | m_pShowSnapCB |
| QTextEdit * | m_pDocTE |
| QSpinBox * | m_pSnapXSB |
| QSpinBox * | m_pSnapYSB |
| QSpinBox * | m_pLineWidthSB |
Detailed Description
- Author:
- Paul Hensgen Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 38 of file umlviewdialog.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructor.
Definition at line 38 of file umlviewdialog.cpp. References m_pView, and setupPages(). |
|
|
Deconstructor.
Definition at line 45 of file umlviewdialog.cpp. |
Member Function Documentation
|
|
Sets up the dialog pages.
Definition at line 60 of file umlviewdialog.cpp. References setupClassPage(), setupColorPage(), setupDiagramPropertiesPage(), and setupFontPage(). Referenced by UMLViewDialog(). |
|
|
Sets up the general Diagram Properties Page.
Definition at line 68 of file umlviewdialog.cpp. References UMLView::currentZoom(), UMLView::getName(), UMLView::getShowOpSig(), and m_pView. Referenced by setupPages(). |
|
|
Sets up the Class page.
Definition at line 88 of file umlviewdialog.cpp. References m_pView. Referenced by setupPages(). |
|
|
Sets up the color page.
Definition at line 99 of file umlviewdialog.cpp. Referenced by setupPages(). |
|
|
Sets up font page.
Definition at line 106 of file umlviewdialog.cpp. References m_pView. Referenced by setupPages(). |
|
|
Applys the properties of the given page.
Definition at line 112 of file umlviewdialog.cpp. References checkName(), UMLView::getType(), m_pView, UMLView::setClassWidgetOptions(), UMLView::setDoc(), UMLView::setFillColor(), UMLView::setFont(), UMLView::setLineColor(), UMLView::setLineWidth(), UMLView::setOptionState(), UMLView::setShowOpSig(), UMLView::setShowSnapGrid(), UMLView::setSnapComponentSizeToGrid(), UMLView::setSnapToGrid(), UMLView::setSnapX(), UMLView::setSnapY(), UMLView::setUseFillColor(), UMLView::setZoom(), ClassOptionsPage::updateUMLWidget(), and UMLWidgetColorPage::updateUMLWidget(). |
|
|
Checks whether the name is unique and sets it if it is.
Definition at line 159 of file umlviewdialog.cpp. References UMLView::getName(), m_pView, UMLView::setName(), and UMLDoc::signalDiagramRenamed(). Referenced by applyPage(). |
Member Data Documentation
|
|
The view to represent.
Definition at line 97 of file umlviewdialog.h. Referenced by applyPage(), checkName(), setupClassPage(), setupDiagramPropertiesPage(), setupFontPage(), and UMLViewDialog(). |
The documentation for this class was generated from the following files:
