umbrello API Documentation

ActivityPage Class Reference

#include <activitypage.h>

List of all members.

Public Slots

void slotMenuSelection (int sel)
 Popup menu item selected.
void slotClicked (QListBoxItem *item)
void slotDoubleClicked (QListBoxItem *item)
void slotRightButtonClicked (QListBoxItem *item, const QPoint &p)
void slotRightButtonPressed (QListBoxItem *item, const QPoint &p)
void slotTopClicked ()
void slotUpClicked ()
void slotDownClicked ()
void slotBottomClicked ()
void slotNewActivity ()
void slotDelete ()
void slotRename ()

Public Member Functions

 ActivityPage (QWidget *pParent, StateWidget *pWidget)
 Constructor.
 ~ActivityPage ()
 Deconstructor.
void setupPage ()
 Sets up the page.
void updateActivities ()
 Sets the activities of the widget.

Protected Member Functions

void enableWidgets (bool state)
 Set the state of the widgets on the page with the given value.

Protected Attributes

StateWidgetm_pStateWidget
 The widget to get the activities from.
ListPopupMenum_pMenu
 Popup menu used.
QListBox * m_pActivityLB
QGroupBox * m_pActivityGB
KArrowButton * m_pUpArrowB
KArrowButton * m_pDownArrowB
KArrowButton * m_pTopArrowB
KArrowButton * m_pBottomArrowB
QPushButton * m_pDeleteActivityButton
QPushButton * m_pRenameButton


Detailed Description

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

Definition at line 29 of file activitypage.h.


Constructor & Destructor Documentation

ActivityPage::ActivityPage QWidget *  pParent,
StateWidget pWidget
 

Constructor.

Definition at line 24 of file activitypage.cpp.

References m_pMenu, m_pStateWidget, and setupPage().

ActivityPage::~ActivityPage  ) 
 

Deconstructor.

Definition at line 30 of file activitypage.cpp.


Member Function Documentation

void ActivityPage::setupPage  ) 
 

Sets up the page.

Definition at line 32 of file activitypage.cpp.

References enableWidgets(), and m_pStateWidget.

Referenced by ActivityPage().

void ActivityPage::updateActivities  ) 
 

Sets the activities of the widget.

Definition at line 106 of file activitypage.cpp.

References m_pStateWidget.

void ActivityPage::enableWidgets bool  state  )  [protected]
 

Set the state of the widgets on the page with the given value.

Parameters:
state The state to set the widgets as.

Definition at line 282 of file activitypage.cpp.

Referenced by setupPage().

void ActivityPage::slotMenuSelection int  sel  )  [slot]
 

Popup menu item selected.

Definition at line 115 of file activitypage.cpp.


Member Data Documentation

StateWidget* ActivityPage::m_pStateWidget [protected]
 

The widget to get the activities from.

Definition at line 63 of file activitypage.h.

Referenced by ActivityPage(), setupPage(), and updateActivities().

ListPopupMenu* ActivityPage::m_pMenu [protected]
 

Popup menu used.

Definition at line 68 of file activitypage.h.

Referenced by ActivityPage().


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