umbrello/umbrello
umllistview.h
Go to the documentation of this file.
void setStartedCut(bool startedCut)
Set the variable m_bStartedCut to indicate that selection should be deleted in slotCutSuccessful().
Definition: umllistview.cpp:2586
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
void slotItemSelectionChanged()
Handler for item selection changed signals.
Definition: umllistview.cpp:151
void deleteChildrenOf(UMLListViewItem *parent)
Deletes all child-items of parent.
Definition: umllistview.cpp:2648
void slotObjectRemoved(UMLObject *object)
Disconnects signals and removes the list view item.
Definition: umllistview.cpp:1175
void slotMenuSelection(QAction *action, const QPoint &position=QPoint())
Called when a right mouse button menu has an item selected.
Definition: umllistview.cpp:314
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistview.cpp:2313
Definition: basictypes.h:41
void collapseAll()
UMLListViewItem * findFolderForDiagram(Uml::DiagramType::Enum dt)
Find the parent folder for a diagram.
Definition: umllistview.cpp:790
void dragEnterEvent(QDragEnterEvent *event)
Always allow starting a drag.
Definition: umllistview.cpp:2724
void addAtContainer(UMLListViewItem *item, UMLListViewItem *parent)
Auxiliary method for moveObject(): Adds the model object at the proper new container (package if nest...
Definition: umllistview.cpp:1568
void mouseDoubleClickEvent(QMouseEvent *me)
Event handler for mouse double click.
Definition: umllistview.cpp:1439
UMLListViewItemList selectedItemsRoot()
Get selected items, but only root elements selected (without children).
Definition: umllistview.cpp:1916
static bool mayHaveChildItems(UMLObject::ObjectType type)
Return true if the given ObjectType permits child items.
Definition: umllistview.cpp:906
void childObjectRemoved(UMLClassifierListItem *obj)
Deletes the list view item.
Definition: umllistview.cpp:1125
UMLListViewItem * determineParentItem(UMLObject *object) const
Determine the parent ListViewItem given an UMLObject.
Definition: umllistview.cpp:849
UMLListViewItem * findUMLObjectInFolder(UMLListViewItem *folder, UMLObject *obj)
This methods looks for a object in a folder an its subfolders recursive.
Definition: umllistview.cpp:1225
void slotDiagramRenamed(Uml::ID::Type id)
Renames a diagram in the list view.
Definition: umllistview.cpp:1140
const char * name() const
void slotDiagramRemoved(Uml::ID::Type id)
Removes the item representing a diagram.
Definition: umllistview.cpp:1190
void setStartedCopy(bool startedCopy)
Set the variable m_bStartedCopy.
Definition: umllistview.cpp:2596
void addNewItem(UMLListViewItem *parent, UMLListViewItem::ListViewType type)
Adds a new item to the tree of the given type under the given parent.
Definition: umllistview.cpp:2156
bool isUnique(UMLListViewItem *item, const QString &name)
Returns if the given name is unique for the given items type.
Definition: umllistview.cpp:2214
bool acceptDrag(QDropEvent *event) const
Event handler for accepting drag request.
Definition: umllistview.cpp:1499
void slotCollapsed(QTreeWidgetItem *item)
Calls updateFolder() on the item to update the icon to closed.
Definition: umllistview.cpp:2118
void slotCutSuccessful()
Connects to the signal that UMLApp emits when a cut operation is successful.
Definition: umllistview.cpp:2130
bool createItem(UMLListViewItem *item)
UMLListViewItem * rootView(UMLListViewItem::ListViewType type)
Returns the corresponding view if the listview type is one of the root views, Root/Logical/UseCase/Co...
Definition: umllistview.cpp:2613
void contextMenuEvent(QContextMenuEvent *event)
Definition: umllistview.cpp:2041
UMLListViewItem * findItem(Uml::ID::Type id)
Searches through the tree for the item with the given ID.
Definition: umllistview.cpp:1362
Definition: basictypes.h:40
UMLListViewItem * moveObject(Uml::ID::Type srcId, UMLListViewItem::ListViewType srcType, UMLListViewItem *newParent)
Moves an object given is unique ID and listview type to an other listview parent item.
Definition: umllistview.cpp:1597
void expandAll()
void slotDiagramCreated(Uml::ID::Type id)
Creates a new item to represent a new diagram.
Definition: umllistview.cpp:821
void connectNewObjectsSlots(UMLObject *object)
Connect some signals into slots in the list view for newly created UMLObjects.
Definition: umllistview.cpp:986
void dragMoveEvent(QDragMoveEvent *event)
Check drag destination and update move/copy action.
Definition: umllistview.cpp:2732
Definition: basictypes.h:44
void slotObjectChanged()
Calls updateObject() on the item representing the sending object no parameters, uses sender() to work...
Definition: umllistview.cpp:1064
UMLListViewItem * findView(UMLView *v)
Searches through the tree for the item which represents the diagram given.
Definition: umllistview.cpp:1296
static bool isExpandable(UMLListViewItem::ListViewType lvt)
Return true if the given list view type can be expanded/collapsed.
Definition: umllistview.cpp:2088
void slotDropped(QDropEvent *de, UMLListViewItem *target)
Something has been dragged and dropped onto the list view.
Definition: umllistview.cpp:1862
friend QDebug operator<<(QDebug out, const UMLListView &view)
Overloading operator for debugging output.
Definition: umllistview.cpp:2804
Definition: basictypes.h:39
UMLListViewItem * findUMLObject(const UMLObject *p) const
Find an UMLObject in the listview.
Definition: umllistview.cpp:1270
void changeIconOf(UMLObject *o, Icon_Utils::IconType to)
Changes the icon for the given UMLObject to the given icon.
Definition: umllistview.cpp:1284
void slotExpanded(QTreeWidgetItem *item)
Calls updateFolder() on the item to update the icon to open.
Definition: umllistview.cpp:2107
This class provides encoding and decoding for the uml data that will be used in a drag and drop opera...
Definition: umldragdata.h:36
QObject * parent() const
void mouseReleaseEvent(QMouseEvent *me)
Handler for mouse release event.
Definition: umllistview.cpp:270
void slotObjectCreated(UMLObject *object)
Creates a new list view item and connects the appropriate signals/slots.
Definition: umllistview.cpp:926
Definition: basictypes.h:42
void mousePressEvent(QMouseEvent *me)
Handler for mouse press events.
Definition: umllistview.cpp:193
void setDocument(UMLDoc *doc)
Sets the document this is associated with.
Definition: umllistview.cpp:1157
UMLListViewItem::ListViewType rootViewType(UMLListViewItem *item)
Determines the root listview type of the given UMLListViewItem.
Definition: umllistview.cpp:2065
bool loadChildrenFromXMI(UMLListViewItem *parent, QDomElement &element)
Definition: umllistview.cpp:2350
UMLListViewItem * createDiagramItem(UMLView *view)
Create a listview item for an existing diagram.
Definition: umllistview.cpp:1942
void childObjectAdded(UMLClassifierListItem *child, UMLClassifier *parent)
Adds a new operation, attribute or template item to a classifier, identical to childObjectAdded(obj) ...
Definition: umllistview.cpp:1092
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 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:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.