Jacob Støren
e26a57011d
#3296 caf::SelectionManager: Refactoring to avoid sending multiple selection changes
...
Must be considered if using the CmdSelectionGangeExec
2018-08-31 16:13:46 +02:00
Magne Sjaastad
1104c336aa
#3294 Selection Manager : Clear selection when editor is activated
2018-08-30 10:42:25 +02:00
Jacob Støren
296854d749
caf: Rename of SelectionRole to SelectionLevel and
...
CURRENT to FIRST_LEVEL
Replace use of SelectionLevel enum as argument with int
2018-08-21 16:44:19 +02:00
Magne Sjaastad
e370dee3b0
#3037 Rename using Q for table view model and tree view model
2018-06-11 11:16:39 +02:00
Magne Sjaastad
3239c66f54
AppFwk (clang-tidy) : modernize-use-nullptr
2018-02-18 18:05:08 +01:00
Rebecca Cox
66082e2160
AppFwk: Set selectAsCurrentItem argument to const
2017-11-29 14:57:04 +01:00
Magne Sjaastad
184e00c5aa
#1912 AppFwk : Add support for setting of current item using attributes
2017-09-27 08:08:53 +02:00
Magne Sjaastad
749ce8e8af
#1292 Fixed CppCheck Issues in AppFwk/cafUserInterface
2017-03-06 19:15:33 +01:00
Magne Sjaastad
32ded3e05d
Added scrollTo() to make sure the expanded item is expanded to root and visibile
2016-08-11 09:15:43 +02:00
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
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
0670403c1d
Select to Application Global and not Current for SelectionManager
2015-08-14 08:35:57 +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
785efe55e8
CAF: Delete of object is handled by Qt
...
Delete of m_proxyEditor caused memory corruption. Qt will delete the
object, as this is parent to m_proxyEditor
2013-10-23 10:38:01 +02:00
Jacob Støren
a4bcbf6115
Merge from origin
2013-09-26 11:48:41 +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