umbrello API Documentation

ClassifierListPage Class Reference

A dialog page to display classifier list properties. A dialog page to display classifier properties. More...

#include <classifierlistpage.h>

List of all members.

Public Slots

void slotClicked (QListBoxItem *item)
 called when list view is clicked on calls enableWidgets()
void slotPopupMenuSel (int id)
 Called when an item is selected in a right click menu.
void slotListItemCreated (UMLObject *object)
void slotListItemModified ()
void slotRightButtonClicked (QListBoxItem *item, const QPoint &p)
void slotRightButtonPressed (QListBoxItem *item, const QPoint &p)
void slotDoubleClick (QListBoxItem *item)
 shows properties dialog for the attribute clicked on
void slotTopClicked ()
 moves selected attribute to the top of the list
void slotUpClicked ()
 moves selected attribute up in list
void slotDownClicked ()
 moved selected attribute down in list
void slotBottomClicked ()
 moved selected attribute to the bottom of the list
void slotNewListItem ()
 shows dialog for new attribute
void slotDelete ()
 removes currently seleted attribute
void slotProperties ()
 shows properties dialog for currently selected attribute

Public Member Functions

 ClassifierListPage (QWidget *parent, UMLClassifier *classifier, UMLDoc *doc, Uml::Object_Type type)
 Sets up the ClassifierListPage.
 ~ClassifierListPage ()
 Standard deconstructor.
void updateObject ()
 Will move information from the dialog into the object.


Detailed Description

A dialog page to display classifier list properties. A dialog page to display classifier properties.

This is not normally setup by you. It is used by the ClassPropDlg and new class wizard.

Author:
Paul Hensgen, Jonathan Riddell Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 39 of file classifierlistpage.h.


Constructor & Destructor Documentation

ClassifierListPage::ClassifierListPage QWidget *  parent,
UMLClassifier classifier,
UMLDoc doc,
Uml::Object_Type  type
 

Sets up the ClassifierListPage.

Parameters:
parent The parent to the ClassAttPage.
classifier The Concept to display the properties of.
doc The UMLDoc document
type The type of listItem this handles

Definition at line 32 of file classifierlistpage.cpp.

References slotBottomClicked(), slotClicked(), slotDelete(), slotDoubleClick(), slotDownClicked(), slotNewListItem(), slotProperties(), slotTopClicked(), and slotUpClicked().

ClassifierListPage::~ClassifierListPage  ) 
 

Standard deconstructor.

Definition at line 143 of file classifierlistpage.cpp.


Member Function Documentation

void ClassifierListPage::updateObject  ) 
 

Will move information from the dialog into the object.

Call when the ok or apply button is pressed.

Definition at line 227 of file classifierlistpage.cpp.

References slotClicked().

Referenced by ClassPropDlg::slotApply().

void ClassifierListPage::slotClicked QListBoxItem *  item  )  [slot]
 

called when list view is clicked on calls enableWidgets()

Definition at line 192 of file classifierlistpage.cpp.

References UMLObject::getDoc(), and UMLObject::setDoc().

Referenced by ClassifierListPage(), slotBottomClicked(), slotDelete(), slotDownClicked(), slotTopClicked(), slotUpClicked(), and updateObject().

void ClassifierListPage::slotPopupMenuSel int  id  )  [slot]
 

Called when an item is selected in a right click menu.

Definition at line 322 of file classifierlistpage.cpp.

References UMLDoc::renameChildUMLObject(), slotDelete(), slotNewListItem(), and slotProperties().

void ClassifierListPage::slotDoubleClick QListBoxItem *  item  )  [slot]
 

shows properties dialog for the attribute clicked on

Definition at line 492 of file classifierlistpage.cpp.

References UMLClassifierListItem::showPropertiesDialog(), and UMLClassifierListItem::toString().

Referenced by ClassifierListPage(), and slotProperties().

void ClassifierListPage::slotTopClicked  )  [slot]
 

moves selected attribute to the top of the list

Definition at line 363 of file classifierlistpage.cpp.

References UMLObject::getName(), and slotClicked().

Referenced by ClassifierListPage().

void ClassifierListPage::slotUpClicked  )  [slot]
 

moves selected attribute up in list

Definition at line 394 of file classifierlistpage.cpp.

References UMLObject::getName(), and slotClicked().

Referenced by ClassifierListPage().

void ClassifierListPage::slotDownClicked  )  [slot]
 

moved selected attribute down in list

Definition at line 428 of file classifierlistpage.cpp.

References UMLObject::getName(), and slotClicked().

Referenced by ClassifierListPage().

void ClassifierListPage::slotBottomClicked  )  [slot]
 

moved selected attribute to the bottom of the list

Definition at line 461 of file classifierlistpage.cpp.

References UMLObject::getName(), and slotClicked().

Referenced by ClassifierListPage().

void ClassifierListPage::slotNewListItem  )  [slot]
 

shows dialog for new attribute

Definition at line 522 of file classifierlistpage.cpp.

Referenced by ClassifierListPage(), and slotPopupMenuSel().

void ClassifierListPage::slotDelete  )  [slot]
 

removes currently seleted attribute

Definition at line 507 of file classifierlistpage.cpp.

References UMLDoc::removeUMLObject(), and slotClicked().

Referenced by ClassifierListPage(), and slotPopupMenuSel().

void ClassifierListPage::slotProperties  )  [slot]
 

shows properties dialog for currently selected attribute

Definition at line 517 of file classifierlistpage.cpp.

References slotDoubleClick().

Referenced by ClassifierListPage(), and slotPopupMenuSel().


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