umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DiagramPropertiesPage Class Reference

#include <diagrampropertiespage.h>

Inheritance diagram for DiagramPropertiesPage:
Collaboration diagram for DiagramPropertiesPage:

Signals

void applyClicked ()
 

Public Member Functions

 DiagramPropertiesPage (QWidget *parent, UMLScene *scene)
 
virtual ~DiagramPropertiesPage ()
 
void setDefaults ()
 
void apply ()
 
- Public Member Functions inherited from DialogPageBase
 DialogPageBase (QWidget *parent)
 
virtual ~DialogPageBase ()
 
virtual bool isModified ()
 
- Public Member Functions inherited from Ui_DiagramPropertiesPage
void setupUi (QWidget *DiagramPropertiesPage)
 
void retranslateUi (QWidget *DiagramPropertiesPage)
 

Protected Member Functions

bool checkUniqueDiagramName ()
 
- Protected Member Functions inherited from DialogPageBase
virtual void keyPressEvent (QKeyEvent *event)
 

Protected Attributes

UMLScenem_scene
 
- Protected Attributes inherited from DialogPageBase
bool m_isModified
 

Additional Inherited Members

- Public Attributes inherited from Ui_DiagramPropertiesPage
QVBoxLayout * vboxLayout
 
QGroupBox * ui_groupBoxDiagramProperties
 
QVBoxLayout * vboxLayout1
 
QHBoxLayout * hboxLayout
 
QLabel * ui_labelDiagramName
 
KLineEdit * ui_diagramName
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QLabel * ui_labelZoom
 
QSpinBox * ui_zoom
 
QLabel * ui_labelZoomUnit
 
QSpacerItem * horizontalSpacer_2
 
QLabel * ui_labelWidth
 
QDoubleSpinBox * ui_width
 
QSpacerItem * horizontalSpacer_3
 
QLabel * ui_labelHeight
 
QDoubleSpinBox * ui_height
 
QFrame * ui_line
 
QHBoxLayout * hboxLayout3
 
QCheckBox * ui_checkBoxShowGrid
 
QCheckBox * ui_snapToGrid
 
QCheckBox * ui_snapComponentSizeToGrid
 
QHBoxLayout * hboxLayout4
 
QLabel * ui_labelGridSpacing
 
QSpacerItem * horizontalSpacer
 
QLabel * ui_labelX
 
QSpinBox * ui_gridSpaceX
 
QSpacerItem * spacerItem
 
QLabel * ui_labelY
 
QSpinBox * ui_gridSpaceY
 
QFrame * line
 
QCheckBox * ui_autoIncrementSequence
 
QGroupBox * ui_groupBoxDocumentation
 
QGridLayout * gridLayout
 
KTextEdit * ui_documentation
 

Detailed Description

A dialog page to display diagram properties

Constructor & Destructor Documentation

◆ DiagramPropertiesPage()

DiagramPropertiesPage::DiagramPropertiesPage ( QWidget *  parent,
UMLScene scene 
)
explicit

Constructor

Parameters
parentthe parent (wizard) of this wizard page
scenethe UMLScene to which the properties apply
Here is the call graph for this function:

◆ ~DiagramPropertiesPage()

DiagramPropertiesPage::~DiagramPropertiesPage ( )
virtual

destructor

Member Function Documentation

◆ apply()

void DiagramPropertiesPage::apply ( )

Reads the set values from their corresponding widgets, writes them back to the data structure, and notifies clients.

Here is the call graph for this function:

◆ applyClicked

void DiagramPropertiesPage::applyClicked ( )
signal

◆ checkUniqueDiagramName()

bool DiagramPropertiesPage::checkUniqueDiagramName ( )
protected

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

Here is the call graph for this function:

◆ setDefaults()

void DiagramPropertiesPage::setDefaults ( )

sets default values

Member Data Documentation

◆ m_scene

UMLScene* DiagramPropertiesPage::m_scene
protected

The documentation for this class was generated from the following files: