Commit Graph

13 Commits

Author SHA1 Message Date
Magne Sjaastad
512f8904de AppFwk: Do not toggle item when tree item editor widget (QLineEdit) is closed with Enter key 2016-07-25 18:25:14 +02:00
Magne Sjaastad
5a1e244b2a System : Renamed classes and function names relaed to drag and drop 2015-10-23 11:03:23 +02:00
Pål Hagen
1b83bfb7f0 (#467) Handling drag move events to get the proposed drop action
The tree view model's drag & drop handle is notified about the proposed
action in drag move events.
2015-10-22 14:42:05 +02:00
Pål Hagen
f4bbbcb7a2 (#467) Using subclassed treeview to notify the model about drag end
Using new class PdmUiTreeViewWidget instead of QTreeView in
PdmUiTreeViewEditor. PdmUiTreeViewWidget handles drag leave events and
calls endDrag() on the model.
2015-10-21 17:20:12 +02:00
Magne Sjaastad
a4b57a11a4 Added display of class names to preferences
Use flag in pdmUiTreeViewEditor to control display of class names
2015-09-18 19:24:02 +02:00
Jacob Støren
0fda6ef6fb (#370) Bugfixes regarding using several project trees
SelectionManager is now updated whenever focus enters the treeview.
The main project tree now has turned on SelectionManager updates
2015-08-20 14:49:18 +02:00
Jacob Støren
302f46b61b (#372) First step in Reimplemented drag and drop support 2015-08-18 11:23:53 +02:00
Jacob Støren
6d7bf0ae9e Made translation between PdmUiItem and QModelIndex available in PdmUiTreeView
After considering the different options, I concluded that it is important to
support the Qt way of doing things.
If the App programmer wants to do things the Qt way, it should be possible.
2015-08-16 09:57:57 +02:00
Jacob Støren
e805c893c6 (#378) Added an tree view expansion interface 2015-08-14 18:03:51 +02:00
Jacob Støren
8052a1c672 (#369) Added selectAsCurrentItem to the PdmUiTreeView
Cleaned up the responsibilities between Editor, model and View
Now model exposes translation between QModelIndex and PdmUiItem
Selection inteface implementation is handled by editor, and forwarded to View
Also started renaming of SlectionManager update enabeling
2015-08-13 23:45:34 +02:00
Magne Sjaastad
58149cbdb9 Copied in RPM/Fwk/AppFwk
Commented out use of stipple line, as VizFwk is not update yet
2015-07-29 14:19:43 +02:00
Magne Sjaastad
1f738a7ac9 Added sorting to tree items by clicking the header
Added names to header
Renamed buttons to 'Download' and 'Import'
2013-09-26 10:57:35 +02:00
sigurdp
f64d9b7e64 Moved CAF to Fwk/AppFwk and moved/renamed VisualizationModules to Fwk/VizFwk 2013-09-20 16:01:20 +02:00