umbrello API Documentation

ClassGenPage Class Reference

Displays properties of a UMLObject in a dialog box. Display properties on a UMLObject. More...

#include <classgenpage.h>

List of all members.

Public Slots

void slotActorToggled (bool state)
 When the draw as actor check box is toggled, the draw as multi instance need to be enabled/disabled.

Public Member Functions

 ClassGenPage (UMLDoc *d, QWidget *parent, UMLObject *o)
 Sets up the ClassGenPage.
 ClassGenPage (UMLDoc *d, QWidget *parent, ObjectWidget *o)
 Sets up the ClassGenPage for an ObjectWidget.
 ClassGenPage (UMLDoc *d, QWidget *parent, UMLWidget *widget)
 Sets up the ClassGenPage for a UMLWidget instance (used for component instances on deployment diagrams).
 ~ClassGenPage ()
 Standard deconstructor.
void updateObject ()
 Will move information from the dialog into the object.


Detailed Description

Displays properties of a UMLObject in a dialog box. Display properties on a UMLObject.

This is not usually directly called. The class ClassPropDlg will set this up for you.

Author:
Paul Hensgen <phensgen@techie.com> Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 39 of file classgenpage.h.


Constructor & Destructor Documentation

ClassGenPage::ClassGenPage UMLDoc d,
QWidget *  parent,
UMLObject o
 

Sets up the ClassGenPage.

Parameters:
d The UMLDoc which controls controls object creation.
parent The parent to the ClassGenPage.
o The UMLObject to display the properties of.

Definition at line 41 of file classgenpage.cpp.

References UMLObject::getName(), UMLObject::getStereotype(), and UMLDoc::getStereotypes().

ClassGenPage::ClassGenPage UMLDoc d,
QWidget *  parent,
ObjectWidget o
 

Sets up the ClassGenPage for an ObjectWidget.

Parameters:
d The UMLDoc which controls controls object creation.
parent The parent to the ClassGenPage.
o The ObjectWidget to display the properties of.

Definition at line 239 of file classgenpage.cpp.

References UMLApp::getCurrentView(), and slotActorToggled().

ClassGenPage::ClassGenPage UMLDoc d,
QWidget *  parent,
UMLWidget widget
 

Sets up the ClassGenPage for a UMLWidget instance (used for component instances on deployment diagrams).

Parameters:
d The UMLDoc which controls controls object creation.
parent The parent to the ClassGenPage.
widget The UMLWidget to display the properties of.

Definition at line 304 of file classgenpage.cpp.

ClassGenPage::~ClassGenPage  ) 
 

Standard deconstructor.

Definition at line 365 of file classgenpage.cpp.


Member Function Documentation

void ClassGenPage::updateObject  ) 
 

Will move information from the dialog into the object.

Call when the ok or apply button is pressed.

Definition at line 373 of file classgenpage.cpp.

References UMLDoc::findUMLObject(), UMLObject::getBaseType(), UMLDoc::getRootFolder(), WidgetBase::getUMLObject(), UMLObject::getUMLPackage(), WidgetBase::setDoc(), UMLWidget::setInstanceName(), UMLObject::setName(), UMLObject::setStereotype(), and UMLObject::setUMLPackage().

Referenced by ClassPropDlg::slotApply().

void ClassGenPage::slotActorToggled bool  state  )  [slot]
 

When the draw as actor check box is toggled, the draw as multi instance need to be enabled/disabled.

They both can't be available at the same time.

Definition at line 465 of file classgenpage.cpp.

Referenced by ClassGenPage().


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