umbrello API Documentation

ClassPropDlg Class Reference

#include <classpropdlg.h>

List of all members.

Public Types

enum  Page {
  page_gen = 0, page_att, page_op, page_template,
  page_assoc, page_options, page_color, page_font
}

Public Member Functions

 ClassPropDlg (QWidget *parent, UMLObject *c, int pageNum=0, bool assoc=false)
 Sets up a ClassPropDlg.
 ClassPropDlg (QWidget *parent, ObjectWidget *o)
 Sets up a ClassPropDlg.
 ClassPropDlg (QWidget *parent, UMLWidget *o)
 Sets up a ClassPropDlg.
 ~ClassPropDlg ()
 Standard deconstructor.

Protected Slots

void slotOk ()
 Calls slotApply() and accepts (closes) the dialog.
void slotApply ()
 Applies the settings in the dialog to the widget and object.

Protected Member Functions

void setupPages (UMLObject *c, bool assoc=false)
 Sets up the general, attribute, operations, template and association pages as appropriate.
void setupInstancePages (UMLWidget *widget)
 Sets up the general page for the component.
void setupFontPage ()
 Sets up the font page.


Detailed Description

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

Definition at line 41 of file classpropdlg.h.


Constructor & Destructor Documentation

ClassPropDlg::ClassPropDlg QWidget *  parent,
UMLObject c,
int  pageNum = 0,
bool  assoc = false
 

Sets up a ClassPropDlg.

Parameters:
parent The parent of the ClassPropDlg
c The UMLObject to display properties of.
pageNum The page to show first.
assoc Determines whether to display associations

Definition at line 36 of file classpropdlg.cpp.

References UMLApp::getDocument(), and setupPages().

ClassPropDlg::ClassPropDlg QWidget *  parent,
ObjectWidget o
 

Sets up a ClassPropDlg.

Parameters:
parent The parent of the ClassPropDlg
o The ObjectWidget to display properties of.

Definition at line 55 of file classpropdlg.cpp.

References UMLApp::getDocument(), WidgetBase::getUMLObject(), and setupFontPage().

ClassPropDlg::ClassPropDlg QWidget *  parent,
UMLWidget o
 

Sets up a ClassPropDlg.

Parameters:
parent The parent of the ClassPropDlg
o The UMLWidget to display properties of.

Definition at line 85 of file classpropdlg.cpp.

References setupFontPage(), setupInstancePages(), and setupPages().

ClassPropDlg::~ClassPropDlg  ) 
 

Standard deconstructor.

Definition at line 132 of file classpropdlg.cpp.


Member Function Documentation

void ClassPropDlg::slotOk  )  [protected, slot]
 

Calls slotApply() and accepts (closes) the dialog.

Definition at line 134 of file classpropdlg.cpp.

References slotApply().

void ClassPropDlg::slotApply  )  [protected, slot]
 

Applies the settings in the dialog to the widget and object.

Definition at line 139 of file classpropdlg.cpp.

References UMLWidget::setFont(), ClassifierListPage::updateObject(), ClassGenPage::updateObject(), UMLWidgetColorPage::updateUMLWidget(), and ClassOptionsPage::updateUMLWidget().

Referenced by slotOk().

void ClassPropDlg::setupPages UMLObject c,
bool  assoc = false
[protected]
 

Sets up the general, attribute, operations, template and association pages as appropriate.

Definition at line 169 of file classpropdlg.cpp.

Referenced by ClassPropDlg().

void ClassPropDlg::setupInstancePages UMLWidget widget  )  [protected]
 

Sets up the general page for the component.

Definition at line 231 of file classpropdlg.cpp.

Referenced by ClassPropDlg().

void ClassPropDlg::setupFontPage  )  [protected]
 

Sets up the font page.

Definition at line 240 of file classpropdlg.cpp.

Referenced by ClassPropDlg().


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:04 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003