umbrello API Documentation

ActivityDialog Class Reference

Displays the properties for a ActivityWidget. More...

#include <activitydialog.h>

List of all members.

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.
UMLWidgetColorPagem_pColorPage
 Color page.
ActivityWidgetm_pActivityWidget
 The widget to represent.
UMLViewm_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

ActivityDialog::ActivityDialog UMLView pView,
ActivityWidget pWidget
 

Constructor.

Definition at line 27 of file activitydialog.cpp.

References m_bChangesMade, m_pActivityWidget, m_pView, and setupPages().


Member Function Documentation

bool ActivityDialog::getChangesMade  )  [inline]
 

Returns whether changes were made.

Definition at line 51 of file activitydialog.h.

References m_bChangesMade.

Referenced by ActivityWidget::showProperties().

void ActivityDialog::slotOk  )  [protected, slot]
 

Entered when OK button pressed.

Definition at line 35 of file activitydialog.cpp.

References applyPage().

void ActivityDialog::slotApply  )  [protected, slot]
 

Entered when Apply button pressed.

Definition at line 42 of file activitydialog.cpp.

References applyPage().

void ActivityDialog::setupPages  )  [protected]
 

Sets up the pages of the dialog.

Definition at line 46 of file activitydialog.cpp.

References setupColorPage(), setupFontPage(), and setupGeneralPage().

Referenced by ActivityDialog().

void ActivityDialog::setupGeneralPage  )  [protected]
 

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().

void ActivityDialog::setupColorPage  )  [protected]
 

Sets up the color page.

Definition at line 113 of file activitydialog.cpp.

References m_pActivityWidget, and m_pColorPage.

Referenced by setupPages().

void ActivityDialog::setupFontPage  )  [protected]
 

Sets up the font selection page.

Definition at line 107 of file activitydialog.cpp.

References m_pActivityWidget, and m_pChooser.

Referenced by setupPages().

void ActivityDialog::applyPage Page  page  )  [protected]
 

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

KFontChooser* ActivityDialog::m_pChooser [protected]
 

Font chooser widget for font page.

Definition at line 104 of file activitydialog.h.

Referenced by applyPage(), and setupFontPage().

UMLWidgetColorPage* ActivityDialog::m_pColorPage [protected]
 

Color page.

Definition at line 109 of file activitydialog.h.

Referenced by applyPage(), and setupColorPage().

ActivityWidget* ActivityDialog::m_pActivityWidget [protected]
 

The widget to represent.

Definition at line 114 of file activitydialog.h.

Referenced by ActivityDialog(), applyPage(), setupColorPage(), setupFontPage(), and setupGeneralPage().

UMLView* ActivityDialog::m_pView [protected]
 

The diagram the widget is on.

Definition at line 119 of file activitydialog.h.

Referenced by ActivityDialog().

bool ActivityDialog::m_bChangesMade [protected]
 

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:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:03 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003