rocs/VisualEditor
GraphVisualEditor.cpp
Go to the documentation of this file.
138 PropertiesDialogAction *propertiesAction = new PropertiesDialogAction(i18nc("@action:button", "Properties"), DocumentManager::self().activeDocument(), this);
190 d->_removeDataStructureButton->setToolTip(i18nc("@info:tooltip", "Remove selected data structure."));
236 PropertiesDialogAction *propertiesAction = new PropertiesDialogAction(i18nc("@action:button", "Properties"),
281 collection->addAction("align-hbottom", new AlignAction(i18nc("@action:intoolbar Alignment", "Base"), AlignAction::Bottom, d->_scene));
282 collection->addAction("align-hcenter", new AlignAction(i18nc("@action:intoolbar Alignment", "Center"), AlignAction::HCenter, d->_scene));
283 collection->addAction("align-htop", new AlignAction(i18nc("@action:intoolbar Alignment", "Top"), AlignAction::Top, d->_scene));
284 collection->addAction("align-vleft", new AlignAction(i18nc("@action:intoolbar Alignment", "Left"), AlignAction::Left, d->_scene));
285 collection->addAction("align-vcenter", new AlignAction(i18nc("@action:intoolbar Alignment", "Center"), AlignAction::VCenter, d->_scene));
286 collection->addAction("align-vright", new AlignAction(i18nc("@action:intoolbar Alignment", "Right"), AlignAction::Right, d->_scene));
287 collection->addAction("align-circle", new AlignAction(i18nc("@action:intoolbar Alignment", "Circle"), AlignAction::Circle, d->_scene));
288 collection->addAction("align-tree", new AlignAction(i18nc("@action:intoolbar Alignment", "Minimize Crossing Edges"), AlignAction::MinCutTree, d->_scene));
297 PropertiesDialogAction *dsProperty = new PropertiesDialogAction(i18nc("@action:button", "Properties"),
310 d->_dataStructureSelectorCombo->setCurrentIndex(d->_document->dataStructures().indexOf(d->_document->activeDataStructure()));
313 PropertiesDialogAction *dsProperty = new PropertiesDialogAction(i18nc("@action:button", "Properties"),
349 d->_zoomSlider->setToolTip(i18nc("@info:tooltip current zoom factor for graph editor", "Zoom: %1\%", zoomFactor*100));
QLayout * layout() const
void setContentsMargins(int left, int top, int right, int bottom)
void removeDataStructure()
Definition: GraphVisualEditor.cpp:326
virtual void addItem(QLayoutItem *item)=0
This class provides hand actions to be performed at the graphics scene.
Definition: EditorToolbar.h:38
Definition: AlignAction.h:34
Definition: AlignAction.h:34
Definition: AlignAction.h:34
void setupActions(KActionCollection *collection)
Setup actions of visual graph editor and adds them to contributed action collection collection...
Definition: GraphVisualEditor.cpp:272
void setFrameStyle(int style)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QList< DataItem * > selectedNodes() const
Definition: GraphVisualEditor.cpp:334
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void append(const T &value)
Definition: AlignAction.h:34
void setLayout(QLayout *layout)
Definition: GraphScene.h:38
Definition: AlignAction.h:34
Definition: AlignAction.h:34
Definition: AlignAction.h:34
Definition: AlignAction.h:29
Singelton class that provides a whiteboard for interactions with data structures. ...
Definition: GraphVisualEditor.h:50
void updateGraphDocumentList()
Updates selector combobox for graph documents.
Definition: GraphVisualEditor.cpp:215
void addWidget(QWidget *w)
void updateActiveDataStructure(DataStructurePtr g)
Reflect currently active data structure in graph scene and graph editor toolbar.
Definition: GraphVisualEditor.cpp:291
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
void updateZoomSlider(qreal zoomFactor)
Definition: GraphVisualEditor.cpp:346
static const KCatalogLoader loader("rocsvisualeditor")
Definition: AlignAction.h:34
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void resizeEvent(QResizeEvent *event)
re-implementation of resize event to also setup the graph scene
Definition: GraphVisualEditor.cpp:111
void updateDataStructureList()
Definition: GraphVisualEditor.cpp:304
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.