Commit Graph

58 Commits

Author SHA1 Message Date
Magne Sjaastad
bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Magne Sjaastad
001afc33dd AppFwk : Allow text filter in single selection mode 2020-03-30 08:57:59 +02:00
Gaute Lindkvist
03ff43237d Add a view id tag to project tree and tooltip
* Remove it from property editor
2019-11-05 11:09:18 +01:00
Magne Sjaastad
daf4132dec #4744 AppFwk : Auto scroll to first checked item 2019-09-20 14:19:26 +02:00
Magne Sjaastad
a9080e14c3 #4722 AppFwk: Rename 2019-09-20 09:54:10 +02:00
Magne Sjaastad
cba51615d8 #4722 Summary Plot Editor : Update current item in tree view
Make sure the current selected item in the tree view is updated with the value in the underlying field.
2019-09-20 09:44:26 +02:00
Gaute Lindkvist
4e92a7e44a More consistent naming for Qt-derived classes in CAF 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
a8e14e9f9a Fix copyright header and namespace for cafShortenedQLabel 2019-04-05 17:31:07 +02:00
Gaute Lindkvist
6a2e81ca4b #4282 Add a new cafShortenedQLabel class that provides a label that shortens itself when space is limited 2019-04-05 13:05:14 +02:00
Gaute Lindkvist
038d7a7676 #4097 Implement stretch factors for editors 2019-04-04 11:19:35 +02:00
Gaute Lindkvist
925747b9d4 Fix warnings about QStyleFrameOptionsV4 2019-03-14 09:50:58 +01:00
Magne Sjaastad
b15f58b560 #4083 Summary : Do not change selected summary type when unticking a checkbox 2019-02-17 10:49:47 +01:00
Magne Sjaastad
65ee55c96d #3944 clang-tidy : Apply clang-tidy on caf 2019-01-11 08:14:53 +01:00
Gaute Lindkvist
01e4454d85 Revert "#3751 Fix keyboard selection in Summary Plot Editor"
This reverts commit ab0fa2fb19.

* This change should never have been merged back into the repo.
2018-11-30 09:22:01 +01:00
Gaute Lindkvist
40f466fb0c #3751 Fix keyboard selection by overriding keyPressEvent and emitting clicked() 2018-11-26 08:01:54 +01:00
Gaute Lindkvist
ab0fa2fb19 #3751 Fix keyboard selection in Summary Plot Editor 2018-11-23 15:36:33 +01:00
Gaute Lindkvist
2cf5357a47 #3738 Active correct item when clicking in Summary Plot Editor 2018-11-23 15:11:23 +01:00
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