Commit Graph

41 Commits

Author SHA1 Message Date
Magne Sjaastad
764fb65e8e clang-tidy : Remove redundant 'virtual' and add 'override'
clang-tidy : Remove redundant 'virtual' and add 'override'
2018-10-18 16:35:51 +02:00
Gaute Lindkvist
fcda0b9755 Remove padding to the left in TreeSelectionEditor if the tree doesn't have grand children. 2018-10-02 08:46:24 +02:00
Gaute Lindkvist
8c5e538f01 Implement a way for editors to fit the label to the field. 2018-09-27 16:07:35 +02:00
Magne Sjaastad
6aa234cc9b AppFwk : Fix several warnings 2018-09-13 09:01:05 +02:00
Gaute Lindkvist
d13a52a8b4 #3058 Implement a memory cleanup dialog for GeoMech data. 2018-06-19 12:20:21 +02:00
Magne Sjaastad
17ee25d0b2 AppFwk : Rename to uiField() and setUiField() 2018-06-15 14:22:03 +02:00
Magne Sjaastad
3239c66f54 AppFwk (clang-tidy) : modernize-use-nullptr 2018-02-18 18:05:08 +01:00
Magne Sjaastad
81129302f3 #2266 AppFwk : Add editor attribute setCurrentIndexWhenItemIsChecked
Fix bug when a selection is active
2017-12-14 16:03:14 +01:00
Magne Sjaastad
3dadef4c76 #2197 AppFwk : Add supporft for placeholder text (taken from Qt 4.7)
PlaceholderLineEdit is a temporary class to be removed when Qt is upgraded
2017-12-11 09:12:31 +01:00
Magne Sjaastad
2c4b1e453d #2197 Rollback : placeholderText was introduced in Qt 4.7 2017-12-08 16:52:31 +01:00
Magne Sjaastad
f5b5b8ff89 #2197 Summary Plot Editor : Add hint to user when a filter field is empty 2017-12-08 14:39:04 +01:00
Magne Sjaastad
c7b3c4bc68 #2200 Summary Plot Editor : Do not select an item when toggling item off 2017-12-08 13:06:49 +01:00
Magne Sjaastad
eaa0a1d6fe #2200 AppFwk Tree Selection Editor: Select item when toggling
When toggling the checked state, also select (highlight) the toggled item
2017-12-04 13:25:47 +01:00
Magne Sjaastad
6da6a0abe1 #2212 AppFwk : Allow '[' and ']' in filter field text 2017-12-04 12:58:10 +01:00
Jacob Støren
f1c8c0ebbe AppFwk: Fix crash and memory leak in TreeSelectionEditor system 2017-11-15 11:32:25 +01:00
Magne Sjaastad
cebe3009e7 #2131 AppFwk : Wire up custom menu slot once
When this signal is wired up multiple times, the context menu shows up after activating a menu item in the context menu
2017-11-14 09:43:33 +01:00
Jacob Støren
9070a97815 #2112 Step two of performance fixing: Avoid unneccessary calls to uiValue from the treeSelectionQMode by caching it temporarily 2017-11-11 02:38:52 +01:00
Jacob Støren
6ee03340a5 #2112 First step in improved performance: When toggling several at once, avoid update for each. 2017-11-10 23:34:22 +01:00
Magne Sjaastad
d02274a897 #1969 Curve Calculator : Support single select in tree selection editor 2017-10-13 08:54:06 +02:00
Magne Sjaastad
e8d04618af #1935 AppFwk : Update model indices when configureAndUpdateUI is called 2017-09-26 15:09:27 +02:00
Magne Sjaastad
fa97db4465 #1935 AppFwk : Apply text filter to be applied on leaf nodes only 2017-09-26 14:06:56 +02:00
Magne Sjaastad
f2d32a5833 #1925 Tree Selection Editor : Do not change toggle state if list is empty 2017-09-21 20:10:52 +02:00
Magne Sjaastad
b3b0a7ba9b #1895 Curve Creator : Use PdmFieldHandle instead of PdmUiFieldHandle 2017-09-20 10:43:19 +02:00
Magne Sjaastad
f61122ce0e #1895 Curve Creator : Added documentation 2017-09-20 10:06:57 +02:00
Magne Sjaastad
1bb1c87058 #1895 Curve Creator : Add support for single value fields 2017-09-20 10:06:57 +02:00
Magne Sjaastad
b222561a81 AppFwk : Remove setFocus, as signals from the QModel triggers update 2017-09-19 12:37:55 +02:00
Magne Sjaastad
e8d515670d #1896 Curve Creator : Set margins to zero for TreeSelectionEditor 2017-09-19 10:52:33 +02:00
Magne Sjaastad
b60758a0f3 #1896 Curve Creator : Add editor attributes to control search and toggle 2017-09-19 10:40:22 +02:00
Magne Sjaastad
32b9b6d1b0 #1898 Curve Creator: Add basic search fields above all the lists 2017-09-19 10:29:13 +02:00
Magne Sjaastad
df6262c043 #1896 Curve Creator : Show On/Off toggle at top of TreeSelectionEditors 2017-09-19 10:27:04 +02:00
Magne Sjaastad
424c4b18a3 #1898 Curve Creator: Use tree structure internally in QModel 2017-09-19 10:08:32 +02:00
Magne Sjaastad
4aefb59f69 #1830 AppFwk : Use large height in sizeHint() to use more of available height 2017-09-12 11:15:11 +02:00
Magne Sjaastad
ffb7e42b0f #1830 :: AppFwk : Added missing include on Linux 2017-09-07 15:21:02 +02:00
Magne Sjaastad
5994ef1393 #1830 AppFwk : Add context menu to control state for multiple items 2017-09-07 14:56:10 +02:00
Magne Sjaastad
a0a28fee36 #1867 AppFwk : Use updateLabelFromField from field editors 2017-09-07 14:56:10 +02:00
Magne Sjaastad
72a1a69547 #1830 AppFwk : Show text in label 2017-09-07 14:56:10 +02:00
Magne Sjaastad
3633474dc2 #1830 AppFwk : Expand tree if item count has changed 2017-09-07 14:56:10 +02:00
Magne Sjaastad
71db603e11 #1830 AppFwk : Invalidate only relevant QModelIndex when selecting items 2017-09-07 14:56:09 +02:00
Magne Sjaastad
d3a37aa1d8 #1830 AppFwk : Hide QTreeView header 2017-09-07 14:56:09 +02:00
Magne Sjaastad
e7351179c3 #1830 AppFwk : Add unit test for tree selection QModel 2017-09-07 14:56:09 +02:00
Magne Sjaastad
841faf022b #1830 AppFwk : Add TreeSelectionEditor and TreeSelectionQModel 2017-09-07 14:56:09 +02:00