Commit Graph

146 Commits

Author SHA1 Message Date
Jacob Støren
c77e674601 #1344 AppFwk: Cleaning up in PdmUiOrdering 2017-03-22 15:02:06 +01:00
Magne Sjaastad
df3ef7106d #1340 AppFwk : Improve how defineUiOrdering handles remaining fields 2017-03-21 13:47:53 +01:00
Jacob Støren
888db49d6c #1337 Caf: Preserve the user collapse settings for each object type within session.
Provide means to set groups collapsed by default in the defineUiOrdering method, and to force the setting disregrding the user actions
2017-03-20 22:12:07 +01:00
Magne Sjaastad
6791600d03 #1260 Replaced assert() with CAF_ASSERT() in AppFwk 2017-03-08 08:19:51 +01:00
Magne Sjaastad
b365834923 #1292 Fixed CppCheck Issues in AppFwk : Removed assign/copy operators 2017-03-07 11:14:29 +01:00
Magne Sjaastad
63baebc698 #1292 Fixed CppCheck Issues in AppFwk/cafProjectDataModel 2017-03-06 19:03:31 +01:00
Magne Sjaastad
38485fd96d Added caf prefix to virtual methods 2017-02-22 13:02:05 +01:00
Jacob Støren
392dfac190 AppFwk: Made updateUiIconFromState handle dynamically assigned icons, and become uiConfigName aware. 2017-02-15 18:29:01 +01:00
Magne Sjaastad
6528d243fe AppFwk : Use namespace prefix for parameters
When using Visual Assist for automatic implementation of virtual functions, the namespace must be included to be able to compile the generated code without any changes.
2017-01-26 11:51:52 +01:00
Magne Sjaastad
0a00f15e5d Removed whitespace 2017-01-26 11:31:04 +01:00
Jacob Støren
c555f77a71 AppFwk: Added a convenince constructor to PdmOptionItemInfo to make it easier to use PdmPtrField 2016-12-14 09:12:27 +01:00
Magne Sjaastad
07a38b6eaf #967 AppFwk : Improved performance of PdmOptionItemInfo::findValues 2016-11-10 08:46:54 +01:00
Jacob Støren
296dac48d3 Removed a call to uiValue() that was not preceeded with valueOptions().
Understood that this is an inherent problem with those two methods, and made a comment on that.
2016-11-04 08:03:22 +01:00
Magne Sjaastad
454805b9de #922 AppFwk : Introduced PdmUiFieldHandleInterface and made setValueFromUiEditor private 2016-10-20 11:31:11 +02:00
Jacob Støren
c3eb692afe Merge with branch 'dev' 2016-10-13 12:44:44 +02:00
Jacob Støren
eb066a71b0 caf: Finally removed the enum-index-based communication used in the optionValueLists for AppEnums. Now custom option menues based on AppEnums can use the enum values naturally instead of the enum index. 2016-10-13 12:11:32 +02:00
Magne Sjaastad
8ae75b5f27 AppFwk : Added concept of isUiTreeHidden and isUiTreeChildrenHidden 2016-10-12 10:08:08 +02:00
Jacob Støren
1a3d8a13af Made uiCapability and xmlCapability const 2016-08-24 15:16:34 +02:00
Magne Sjaastad
e031f89dcc Merged from maintenance branch 2016-08-05 12:13:13 +02:00
Magne Sjaastad
c5d4519eb1 #282 Added category list if category values are present 2016-08-05 10:26:47 +02:00
Jacob Støren
0b7abb0cab Caf: Added specialization for PdmPointer<T>.
Preparations for PtrArrayField. Made isEqual use QVariant::value<T>()
2016-06-19 21:36:44 +02:00
Jacob Støren
214f013499 Caf: Fixed issues regarding custom type in fields with multi selection 2016-06-16 16:55:02 +02:00
Jacob Støren
e1fa9aa9f3 Caf: Corrected the spesialization of field of vector and list equality compare, which is supposed to be pr. element 2016-06-16 16:55:02 +02:00
Magne Sjaastad
ef64dc9b62 cotire : Boolean variables are now unique globally in the project 2016-06-10 14:01:41 +02:00
Jacob Støren
c2e62c60ba caf: Added an option on ui fields to not add their value to the list of options if the option does not exist. 2016-06-09 11:08:12 +02:00
Jacob Støren
891bce069d (#587) Fixed missing initialization. Will probably fix this issue 2015-12-14 14:37:00 +01:00
Magne Sjaastad
147580e342 Linux fix 2015-11-26 05:54:43 -08:00
Magne Sjaastad
3a3d28003b [Fwk] Use PdmValueFieldSpecialization instead of QVariant constructor 2015-11-26 14:22:52 +01:00
Magne Sjaastad
13c5dbfbd2 [Fwk] Do not show children if object hides children 2015-11-18 15:55:23 +01:00
Magne Sjaastad
fb55b469a0 System : Replaced tab with four spaces in AppFwk 2015-10-23 15:21:45 +02:00
Magne Sjaastad
8698291e7d (#566) Major rewrite of how to build and update PdmUiTreeOrdering items
Removed findChildItemIndex() which caused performance issues for large
models. Replaced with a new algorithm using std::map. Added unit tests
2015-10-14 13:32:35 +02:00
Magne Sjaastad
bcc5d636f8 (#566) Performance: Use set to detect if an object already has been inserted in UiTreeOrdering 2015-10-14 13:23:54 +02:00
Jacob Støren
49ab79219e Fixed crashes regarding general handling of NULL pointers in Child Arrays 2015-09-25 15:24:21 +02:00
Jacob Støren
0ac86aeff3 Fwk: Added convenience methods to access the ui/xml capabilities in objects 2015-08-20 15:22:43 +02:00
Jacob Støren
04368bd8a3 (#349) Removed updateConnectedUIEditors 2015-08-20 10:43:55 +02:00
Jacob Støren
5cd416ce6b (#357) Renamed PdmUiObjectHandle::owner() to objectHandle() 2015-08-14 16:15:49 +02:00
Magne Sjaastad
a1ecc50605 Added CopyReferencesToClipboardFeature 2015-08-14 10:17:31 +02:00
Jacob Storen
47819812bf Fix of Linux compile errors and warnings 2015-08-13 06:23:51 -07:00
Magne Sjaastad
2b47793d68 Integrated fix for undo framework. Added virtual destructors. 2015-08-13 13:06:56 +02:00
Magne Sjaastad
c7fca88bdc Allow invalid PdmUiTreeOrdering objects, and display message in Debug 2015-08-11 11:15:30 +02:00
Magne Sjaastad
e3bfca8174 Revert "Improved default parsing of visible items to establish root items in the tree view"
This reverts commit 550eccc521.
2015-08-10 21:44:50 +02:00
Magne Sjaastad
550eccc521 Improved default parsing of visible items to establish root items in the tree view 2015-08-09 10:56:52 +02:00
Magne Sjaastad
57e363896f Replaced uiField() and xmlField() with uiCapability() and xmlCapability() 2015-08-05 12:34:07 +02:00
Magne Sjaastad
c09143e706 Intermediate fixes to avoid noise from asserts 2015-08-04 15:57:37 +02:00
Magne Sjaastad
0113d2bd24 Removed obsolete file 2015-08-04 08:42:15 +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