umbrello API Documentation

UMLWidgetColorPage Class Reference

#include <umlwidgetcolorpage.h>

List of all members.

Public Slots

void slotLineButtonClicked ()
 Sets the default line color when default line button clicked.
void slotFillButtonClicked ()
 Sets the default fill color when default fill button clicked.

Public Member Functions

 UMLWidgetColorPage (QWidget *pParent, UMLWidget *pWidget)
 Constructor - Observe a UMLWidget.
 UMLWidgetColorPage (QWidget *pParent, Settings::OptionState *options)
 Constructor - Observe an OptionState structure.
virtual ~UMLWidgetColorPage ()
 destructor
void updateUMLWidget ()
 Updates the UMLWidget with the dialog properties.

Protected Attributes

UMLWidgetm_pUMLWidget
 The widget to set the color for.
Settings::OptionState * m_options
QGroupBox * m_pColorGB
QLabel * m_pLineColorL
QLabel * m_pFillColorL
QCheckBox * m_pUseFillColorCB
QPushButton * m_pLineDefaultB
QPushButton * m_pFillDefaultB
KColorButton * m_pLineColorB
KColorButton * m_pFillColorB


Detailed Description

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

Definition at line 30 of file umlwidgetcolorpage.h.


Constructor & Destructor Documentation

UMLWidgetColorPage::UMLWidgetColorPage QWidget *  pParent,
UMLWidget pWidget
 

Constructor - Observe a UMLWidget.

Definition at line 25 of file umlwidgetcolorpage.cpp.

References m_pUMLWidget.

UMLWidgetColorPage::UMLWidgetColorPage QWidget *  pParent,
Settings::OptionState *  options
 

Constructor - Observe an OptionState structure.

Definition at line 35 of file umlwidgetcolorpage.cpp.

References m_pUMLWidget.

UMLWidgetColorPage::~UMLWidgetColorPage  )  [virtual]
 

destructor

Definition at line 87 of file umlwidgetcolorpage.cpp.


Member Function Documentation

void UMLWidgetColorPage::updateUMLWidget  ) 
 

Updates the UMLWidget with the dialog properties.

Definition at line 99 of file umlwidgetcolorpage.cpp.

References m_pUMLWidget, UMLWidget::setFillColour(), UMLWidget::setLineColor(), and UMLWidget::setUseFillColour().

Referenced by UMLViewDialog::applyPage(), and ClassPropDlg::slotApply().

void UMLWidgetColorPage::slotLineButtonClicked  )  [slot]
 

Sets the default line color when default line button clicked.

Definition at line 89 of file umlwidgetcolorpage.cpp.

void UMLWidgetColorPage::slotFillButtonClicked  )  [slot]
 

Sets the default fill color when default fill button clicked.

Definition at line 94 of file umlwidgetcolorpage.cpp.


Member Data Documentation

UMLWidget* UMLWidgetColorPage::m_pUMLWidget [protected]
 

The widget to set the color for.

Definition at line 71 of file umlwidgetcolorpage.h.

Referenced by UMLWidgetColorPage(), and updateUMLWidget().


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