umbrello: umbrello/dialogs/pages/diagrampropertiespage.h Source File

umbrello 2.31.1 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:3544
DiagramPropertiesPage::DiagramPropertiesPage
DiagramPropertiesPage(QWidget *parent, UMLScene *scene)
Definition: diagrampropertiespage.cpp:30
umlview.h
UMLScene::autoIncrementSequence
bool autoIncrementSequence() const
Definition: umlscene.cpp:372
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
DiagramPropertiesPage::apply
void apply()
Definition: diagrampropertiespage.cpp:103
UMLScene::snapToGrid
bool snapToGrid() const
Definition: umlscene.cpp:3519
UMLScene::isCollaborationDiagram
bool isCollaborationDiagram()
Definition: umlscene.h:319
UMLScene::snapX
int snapX() const
Definition: umlscene.cpp:3554
dialogpagebase.h
UMLScene::snapY
int snapY() const
Definition: umlscene.cpp:3562
UMLScene::snapComponentSizeToGrid
bool snapComponentSizeToGrid() const
Definition: umlscene.cpp:3536
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
UMLScene::setSnapGridVisible
void setSnapGridVisible(bool bShow)
Definition: umlscene.cpp:3622
UMLScene::setSnapSpacing
void setSnapSpacing(int x, int y)
Definition: umlscene.cpp:3570
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
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:3614
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:418
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:3527
UMLScene::isSequenceDiagram
bool isSequenceDiagram()
Definition: umlscene.h:318
DiagramPropertiesPage::applyClicked
void applyClicked()
UMLScene::documentation
QString documentation() const
Definition: umlscene.cpp:356
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3442
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1003
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
umldoc.h
UMLView::zoom
qreal zoom() const
Definition: umlview.cpp:64