umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

diagrampropertiespage.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2002-2014 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef DIAGRAMPROPERTIESPAGE_H
12 #define DIAGRAMPROPERTIESPAGE_H
13
14 #include "dialogpagebase.h"
15 #include "ui_diagrampropertiespage.h"
16
17 class UMLScene;
18
22 class DiagramPropertiesPage : public DialogPageBase, public Ui::DiagramPropertiesPage
23 {
24 Q_OBJECT
25 public:
26 explicit DiagramPropertiesPage(QWidget *parent, UMLScene *scene);
27 virtual ~DiagramPropertiesPage();
28
29 void setDefaults();
30 void apply();
31
32 signals:
33 void applyClicked();
34
35 protected:
36 UMLScene *m_scene;
37 bool checkUniqueDiagramName();
38 };
39 #endif
DiagramPropertiesPage::~DiagramPropertiesPage
virtual ~DiagramPropertiesPage()
Definition: diagrampropertiespage.cpp:56
UMLScene::setSnapComponentSizeToGrid
void setSnapComponentSizeToGrid(bool bSnap)
Definition: umlscene.cpp:3561
DiagramPropertiesPage::DiagramPropertiesPage
DiagramPropertiesPage(QWidget *parent, UMLScene *scene)
Definition: diagrampropertiespage.cpp:30
umlview.h
Ui::DiagramPropertiesPage
Definition: ui_diagrampropertiespage.h:278
Ui_DiagramPropertiesPage::ui_zoom
QSpinBox * ui_zoom
Definition: ui_diagrampropertiespage.h:43
UMLScene::autoIncrementSequence
bool autoIncrementSequence() const
Definition: umlscene.cpp:372
Ui_DiagramPropertiesPage::ui_gridSpaceY
QSpinBox * ui_gridSpaceY
Definition: ui_diagrampropertiespage.h:58
UMLScene::activeView
UMLView * activeView() const
Definition: umlscene.cpp:348
UMLScene::setAutoIncrementSequence
void setAutoIncrementSequence(bool state)
Definition: umlscene.cpp:377
DiagramPropertiesPage::checkUniqueDiagramName
bool checkUniqueDiagramName()
Definition: diagrampropertiespage.cpp:70
Ui_DiagramPropertiesPage::ui_documentation
KTextEdit * ui_documentation
Definition: ui_diagrampropertiespage.h:63
DiagramPropertiesPage::apply
void apply()
Definition: diagrampropertiespage.cpp:103
UMLScene::snapToGrid
bool snapToGrid() const
Definition: umlscene.cpp:3536
UMLScene::isCollaborationDiagram
bool isCollaborationDiagram()
Definition: umlscene.h:319
UMLScene::snapX
int snapX() const
Definition: umlscene.cpp:3571
Ui_DiagramPropertiesPage::ui_autoIncrementSequence
QCheckBox * ui_autoIncrementSequence
Definition: ui_diagrampropertiespage.h:60
Ui_DiagramPropertiesPage::ui_snapToGrid
QCheckBox * ui_snapToGrid
Definition: ui_diagrampropertiespage.h:49
dialogpagebase.h
Ui_DiagramPropertiesPage::ui_gridSpaceX
QSpinBox * ui_gridSpaceX
Definition: ui_diagrampropertiespage.h:55
Ui_DiagramPropertiesPage::ui_snapComponentSizeToGrid
QCheckBox * ui_snapComponentSizeToGrid
Definition: ui_diagrampropertiespage.h:50
UMLScene::snapY
int snapY() const
Definition: umlscene.cpp:3579
UMLScene::snapComponentSizeToGrid
bool snapComponentSizeToGrid() const
Definition: umlscene.cpp:3553
ui_diagrampropertiespage.h
UMLView::setZoom
void setZoom(qreal zoom)
Definition: umlview.cpp:72
UMLView
Definition: umlview.h:35
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
DiagramPropertiesPage
Definition: diagrampropertiespage.h:23
DialogPageBase
Definition: dialogpagebase.h:25
i18n
#define i18n
Definition: main.cpp:39
diagrampropertiespage.h
Ui_DiagramPropertiesPage::ui_checkBoxShowGrid
QCheckBox * ui_checkBoxShowGrid
Definition: ui_diagrampropertiespage.h:48
Ui_DiagramPropertiesPage::ui_diagramName
KLineEdit * ui_diagramName
Definition: ui_diagrampropertiespage.h:39
UMLScene::setSnapGridVisible
void setSnapGridVisible(bool bShow)
Definition: umlscene.cpp:3639
UMLScene::setSnapSpacing
void setSnapSpacing(int x, int y)
Definition: umlscene.cpp:3587
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLDoc
Definition: umldoc.h:75
DiagramPropertiesPage::m_scene
UMLScene * m_scene
Definition: diagrampropertiespage.h:36
DiagramPropertiesPage::setDefaults
void setDefaults()
Definition: diagrampropertiespage.cpp:63
UMLScene::setDocumentation
void setDocumentation(const QString &doc)
Definition: umlscene.cpp:364
UMLScene::isSnapGridVisible
bool isSnapGridVisible() const
Definition: umlscene.cpp:3631
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:418
Ui_DiagramPropertiesPage::setupUi
void setupUi(QWidget *DiagramPropertiesPage)
Definition: ui_diagrampropertiespage.h:65
umlscene.h
uml.h
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLScene
Definition: umlscene.h:69
UMLScene::setSnapToGrid
void setSnapToGrid(bool bSnap)
Definition: umlscene.cpp:3544
UMLScene::isSequenceDiagram
bool isSequenceDiagram()
Definition: umlscene.h:318
DiagramPropertiesPage::applyClicked
void applyClicked()
Definition: moc_diagrampropertiespage.cpp:131
UMLScene::documentation
QString documentation() const
Definition: umlscene.cpp:356
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3453
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1005
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
umldoc.h
UMLView::zoom
qreal zoom() const
Definition: umlview.cpp:64