• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ClassOptionsPage Class Reference

#include <classoptionspage.h>

Inheritance diagram for ClassOptionsPage:
Inheritance graph
[legend]

Public Member Functions

 ClassOptionsPage (QWidget *pParent, ClassifierWidget *pWidget)
 
 ClassOptionsPage (QWidget *pParent, Settings::OptionState *options, bool isDiagram=true)
 
virtual ~ClassOptionsPage ()
 
void apply ()
 
void setDefaults ()
 
void setWidget (ClassifierWidget *pWidget)
 

Protected Member Functions

void applyOptionState ()
 
void applyWidget ()
 
void init ()
 
void insertAttribScope (const QString &type, int index=-1)
 
void insertOperationScope (const QString &type, int index=-1)
 
void setupClassPageOption ()
 
void setupPage ()
 

Protected Attributes

KComboBox * m_attribScopeCB
 
QLabel * m_attributeLabel
 
QCheckBox * m_drawAsCircleCB
 
bool m_isDiagram
 
QLabel * m_operationLabel
 
KComboBox * m_operationScopeCB
 
Settings::OptionState * m_options
 
ClassifierWidget * m_pWidget
 
QGroupBox * m_scopeGB
 
QCheckBox * m_showAttribAssocsCB
 
QCheckBox * m_showAttsCB
 
QCheckBox * m_showAttSigCB
 
QCheckBox * m_showOpsCB
 
QCheckBox * m_showOpSigCB
 
QCheckBox * m_showPackageCB
 
QCheckBox * m_showPublicOnlyCB
 
QCheckBox * m_showStereotypeCB
 
QCheckBox * m_showVisibilityCB
 
QGroupBox * m_visibilityGB
 

Detailed Description

A dialog page to display options for class related options.

This dialog is either embedded into SettingsDlg, UMLViewDialog and ClassPropDlg

A dialog page to display the class related options.

Author
Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m
See also
ClassPropDlg
SettingsDlg
UMLViewDialog Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or http://bugs.kde.org

Definition at line 37 of file classoptionspage.h.

Constructor & Destructor Documentation

ClassOptionsPage::ClassOptionsPage ( QWidget *  pParent,
ClassifierWidget *  pWidget 
)

Constructor - observe and modify a Widget.

Definition at line 33 of file classoptionspage.cpp.

ClassOptionsPage::ClassOptionsPage ( QWidget *  pParent,
Settings::OptionState *  options,
bool  isDiagram = true 
)

Constructor - observe and modify an OptionState structure.

Parameters
parentParent widget
optionsSettings to read from/save into
isDiagramFlag if object is for display diagram class options

Definition at line 49 of file classoptionspage.cpp.

ClassOptionsPage::~ClassOptionsPage ( )
virtual

Destructor.

Definition at line 61 of file classoptionspage.cpp.

Member Function Documentation

void ClassOptionsPage::apply ( )

apply changes

Definition at line 81 of file classoptionspage.cpp.

void ClassOptionsPage::applyOptionState ( )
protected

Sets the OptionState to the values selected in this dialog page.

Definition at line 278 of file classoptionspage.cpp.

void ClassOptionsPage::applyWidget ( )
protected

Sets the ClassifierWidget's properties to those selected in this dialog page.

Definition at line 257 of file classoptionspage.cpp.

void ClassOptionsPage::init ( )
protected

Initialize optional items.

Definition at line 302 of file classoptionspage.cpp.

void ClassOptionsPage::insertAttribScope ( const QString &  type,
int  index = -1 
)
protected

Inserts type into the type-combobox as well as its completion object.

Definition at line 317 of file classoptionspage.cpp.

void ClassOptionsPage::insertOperationScope ( const QString &  type,
int  index = -1 
)
protected

Inserts type into the type-combobox as well as its completion object.

Definition at line 326 of file classoptionspage.cpp.

void ClassOptionsPage::setDefaults ( )

Definition at line 65 of file classoptionspage.cpp.

void ClassOptionsPage::setupClassPageOption ( )
protected

Creates the page based on the OptionState.

Definition at line 174 of file classoptionspage.cpp.

void ClassOptionsPage::setupPage ( )
protected

Creates the page with the correct options for the class/interface.

Definition at line 101 of file classoptionspage.cpp.

void ClassOptionsPage::setWidget ( ClassifierWidget *  pWidget)

Set related uml widget.

Definition at line 93 of file classoptionspage.cpp.

Member Data Documentation

KComboBox* ClassOptionsPage::m_attribScopeCB
protected

Definition at line 72 of file classoptionspage.h.

QLabel* ClassOptionsPage::m_attributeLabel
protected

Definition at line 70 of file classoptionspage.h.

QCheckBox* ClassOptionsPage::m_drawAsCircleCB
protected

Definition at line 67 of file classoptionspage.h.

bool ClassOptionsPage::m_isDiagram
protected

Flag indicating that page is for diagram property dialog.

Definition at line 77 of file classoptionspage.h.

QLabel* ClassOptionsPage::m_operationLabel
protected

Definition at line 71 of file classoptionspage.h.

KComboBox* ClassOptionsPage::m_operationScopeCB
protected

Definition at line 73 of file classoptionspage.h.

Settings::OptionState* ClassOptionsPage::m_options
protected

The OptionState structure to represent in the dialog page.

Definition at line 76 of file classoptionspage.h.

ClassifierWidget* ClassOptionsPage::m_pWidget
protected

The classifier widget to represent in the dialog page.

Definition at line 75 of file classoptionspage.h.

QGroupBox* ClassOptionsPage::m_scopeGB
protected

Definition at line 69 of file classoptionspage.h.

QCheckBox* ClassOptionsPage::m_showAttribAssocsCB
protected

Definition at line 66 of file classoptionspage.h.

QCheckBox * ClassOptionsPage::m_showAttsCB
protected

Definition at line 64 of file classoptionspage.h.

QCheckBox * ClassOptionsPage::m_showAttSigCB
protected

Definition at line 63 of file classoptionspage.h.

QCheckBox * ClassOptionsPage::m_showOpsCB
protected

Definition at line 64 of file classoptionspage.h.

QCheckBox* ClassOptionsPage::m_showOpSigCB
protected

Definition at line 64 of file classoptionspage.h.

QCheckBox * ClassOptionsPage::m_showPackageCB
protected

Definition at line 65 of file classoptionspage.h.

QCheckBox * ClassOptionsPage::m_showPublicOnlyCB
protected

Definition at line 65 of file classoptionspage.h.

QCheckBox* ClassOptionsPage::m_showStereotypeCB
protected

Definition at line 65 of file classoptionspage.h.

QCheckBox* ClassOptionsPage::m_showVisibilityCB
protected

Definition at line 63 of file classoptionspage.h.

QGroupBox* ClassOptionsPage::m_visibilityGB
protected

Definition at line 62 of file classoptionspage.h.


The documentation for this class was generated from the following files:
  • classoptionspage.h
  • classoptionspage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal