umbrello API Documentation

UMLViewDialog Class Reference

#include <umlviewdialog.h>

List of all members.

Public Slots

void slotOk ()
void slotApply ()

Public Member Functions

 UMLViewDialog (QWidget *pParent, UMLView *pView)
 Constructor.
 ~UMLViewDialog ()
 Deconstructor.

Protected Types

enum  Page { General = 0, Color, Font, Class }

Protected Member Functions

void setupPages ()
 Sets up the dialog pages.
void setupDiagramPropertiesPage ()
 Sets up the general Diagram Properties Page.
void setupClassPage ()
 Sets up the Class page.
void setupColorPage ()
 Sets up the color page.
void setupFontPage ()
 Sets up font page.
void applyPage (Page page)
 Applys the properties of the given page.
void checkName ()
 Checks whether the name is unique and sets it if it is.

Protected Attributes

UMLViewm_pView
 The view to represent.
Settings::OptionState m_options
KFontChooser * m_pChooser
DiagramPropertiesPage * m_diagramProperties
ClassOptionsPagem_pOptionsPage
UMLWidgetColorPagem_pColorPage
QLabel * m_pNameL
QLabel * m_pSpinXL
QLabel * m_pSpinYL
QLineEdit * m_pNameLE
QGroupBox * m_pDocGB
QGroupBox * m_pValuesGB
QCheckBox * m_pSnapToGridCB
QCheckBox * m_pShowSnapCB
QTextEdit * m_pDocTE
QSpinBox * m_pSnapXSB
QSpinBox * m_pSnapYSB
QSpinBox * m_pLineWidthSB


Detailed Description

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

Definition at line 38 of file umlviewdialog.h.


Constructor & Destructor Documentation

UMLViewDialog::UMLViewDialog QWidget *  pParent,
UMLView pView
 

Constructor.

Definition at line 38 of file umlviewdialog.cpp.

References m_pView, and setupPages().

UMLViewDialog::~UMLViewDialog  ) 
 

Deconstructor.

Definition at line 45 of file umlviewdialog.cpp.


Member Function Documentation

void UMLViewDialog::setupPages  )  [protected]
 

Sets up the dialog pages.

Definition at line 60 of file umlviewdialog.cpp.

References setupClassPage(), setupColorPage(), setupDiagramPropertiesPage(), and setupFontPage().

Referenced by UMLViewDialog().

void UMLViewDialog::setupDiagramPropertiesPage  )  [protected]
 

Sets up the general Diagram Properties Page.

Definition at line 68 of file umlviewdialog.cpp.

References UMLView::currentZoom(), UMLView::getName(), UMLView::getShowOpSig(), and m_pView.

Referenced by setupPages().

void UMLViewDialog::setupClassPage  )  [protected]
 

Sets up the Class page.

Definition at line 88 of file umlviewdialog.cpp.

References m_pView.

Referenced by setupPages().

void UMLViewDialog::setupColorPage  )  [protected]
 

Sets up the color page.

Definition at line 99 of file umlviewdialog.cpp.

Referenced by setupPages().

void UMLViewDialog::setupFontPage  )  [protected]
 

Sets up font page.

Definition at line 106 of file umlviewdialog.cpp.

References m_pView.

Referenced by setupPages().

void UMLViewDialog::applyPage Page  page  )  [protected]
 

Applys the properties of the given page.

Definition at line 112 of file umlviewdialog.cpp.

References checkName(), UMLView::getType(), m_pView, UMLView::setClassWidgetOptions(), UMLView::setDoc(), UMLView::setFillColor(), UMLView::setFont(), UMLView::setLineColor(), UMLView::setLineWidth(), UMLView::setOptionState(), UMLView::setShowOpSig(), UMLView::setShowSnapGrid(), UMLView::setSnapComponentSizeToGrid(), UMLView::setSnapToGrid(), UMLView::setSnapX(), UMLView::setSnapY(), UMLView::setUseFillColor(), UMLView::setZoom(), ClassOptionsPage::updateUMLWidget(), and UMLWidgetColorPage::updateUMLWidget().

void UMLViewDialog::checkName  )  [protected]
 

Checks whether the name is unique and sets it if it is.

Definition at line 159 of file umlviewdialog.cpp.

References UMLView::getName(), m_pView, UMLView::setName(), and UMLDoc::signalDiagramRenamed().

Referenced by applyPage().


Member Data Documentation

UMLView* UMLViewDialog::m_pView [protected]
 

The view to represent.

Definition at line 97 of file umlviewdialog.h.

Referenced by applyPage(), checkName(), setupClassPage(), setupDiagramPropertiesPage(), setupFontPage(), and UMLViewDialog().


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