ActivityDialog Class Reference
Displays the properties for a ActivityWidget. More...
#include <activitydialog.h>
Public Member Functions | |
| ActivityDialog (UMLView *pView, ActivityWidget *pWidget) | |
| Constructor. | |
| bool | getChangesMade () |
| Returns whether changes were made. | |
Protected Types | |
| enum | Page { GeneralPage = 0, ColorPage, FontPage } |
Protected Slots | |
| void | slotOk () |
| Entered when OK button pressed. | |
| void | slotApply () |
| Entered when Apply button pressed. | |
Protected Member Functions | |
| void | setupPages () |
| Sets up the pages of the dialog. | |
| void | setupGeneralPage () |
| Sets up the general page of the dialog. | |
| void | setupColorPage () |
| Sets up the color page. | |
| void | setupFontPage () |
| Sets up the font selection page. | |
| void | applyPage (Page page) |
| Applys changes to the given page. | |
Protected Attributes | |
| KFontChooser * | m_pChooser |
| Font chooser widget for font page. | |
| UMLWidgetColorPage * | m_pColorPage |
| Color page. | |
| ActivityWidget * | m_pActivityWidget |
| The widget to represent. | |
| UMLView * | m_pView |
| The diagram the widget is on. | |
| bool | m_bChangesMade |
| Holds whether changes in the dialog have been made. | |
| ActivityDialog::GeneralPageWidgets | m_GenPageWidgets |
Detailed Description
Displays the properties for a ActivityWidget.
- Author:
- Paul Hensgen Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 39 of file activitydialog.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructor.
Definition at line 27 of file activitydialog.cpp. References m_bChangesMade, m_pActivityWidget, m_pView, and setupPages(). |
Member Function Documentation
|
|
Returns whether changes were made.
Definition at line 51 of file activitydialog.h. References m_bChangesMade. Referenced by ActivityWidget::showProperties(). |
|
|
Entered when OK button pressed.
Definition at line 35 of file activitydialog.cpp. References applyPage(). |
|
|
Entered when Apply button pressed.
Definition at line 42 of file activitydialog.cpp. References applyPage(). |
|
|
Sets up the pages of the dialog.
Definition at line 46 of file activitydialog.cpp. References setupColorPage(), setupFontPage(), and setupGeneralPage(). Referenced by ActivityDialog(). |
|
|
Sets up the general page of the dialog.
Definition at line 69 of file activitydialog.cpp. References m_pActivityWidget, and Dialog_Utils::makeLabeledEditField(). Referenced by setupPages(). |
|
|
Sets up the color page.
Definition at line 113 of file activitydialog.cpp. References m_pActivityWidget, and m_pColorPage. Referenced by setupPages(). |
|
|
Sets up the font selection page.
Definition at line 107 of file activitydialog.cpp. References m_pActivityWidget, and m_pChooser. Referenced by setupPages(). |
|
|
Applys changes to the given page.
Definition at line 52 of file activitydialog.cpp. References m_bChangesMade, m_pActivityWidget, m_pChooser, and m_pColorPage. Referenced by slotApply(), and slotOk(). |
Member Data Documentation
|
|
Font chooser widget for font page.
Definition at line 104 of file activitydialog.h. Referenced by applyPage(), and setupFontPage(). |
|
|
Color page.
Definition at line 109 of file activitydialog.h. Referenced by applyPage(), and setupColorPage(). |
|
|
The widget to represent.
Definition at line 114 of file activitydialog.h. Referenced by ActivityDialog(), applyPage(), setupColorPage(), setupFontPage(), and setupGeneralPage(). |
|
|
The diagram the widget is on.
Definition at line 119 of file activitydialog.h. Referenced by ActivityDialog(). |
|
|
Holds whether changes in the dialog have been made.
Definition at line 124 of file activitydialog.h. Referenced by ActivityDialog(), applyPage(), and getChangesMade(). |
The documentation for this class was generated from the following files:
