Commit Graph

613 Commits

Author SHA1 Message Date
Magne Sjaastad
215eb58de0 System : Always include Qt using <> and cleaned up some includes/whitespace 2017-10-19 10:11:14 +02:00
Magne Sjaastad
d02274a897 #1969 Curve Calculator : Support single select in tree selection editor 2017-10-13 08:54:06 +02:00
Magne Sjaastad
9dd730f8f6 AppFwk : Add support for push buttons in table editor 2017-10-12 10:52:30 +02:00
Bjørn Erik Jensen
ca56454acb Color table. Fixed bug 2017-10-09 09:01:19 +02:00
Bjørn Erik Jensen
5d672356d2 Color3f. Add operator < 2017-10-09 09:01:19 +02:00
Magne Sjaastad
64a8a07f6a AppFwk : Add disableIO() to PdmXmlFieldHandle 2017-10-03 15:23:44 +02:00
Arne Morten Kvarving
ab4619bf74 fixed: add missing cmath include statements
highlighted by building with gcc6
2017-09-29 18:24:28 +02: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
cfaab93b1f AppFwk : Remove unused function 2017-09-27 06:55:50 +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
Jacob Støren
f4eadc5cef AppFwk: Addjust default implementation of equal comparisons for QVariant encapsuled field content types that are not directly supported by Qt.
Should now work in most cases, where as it always returned "false" before this fix
2017-09-23 08:26:21 +02:00
Bjørn Erik Jensen
f4148dfe7a #1920 Curve creator. Adjust target plot combobox width to contents 2017-09-22 11:49:00 +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
cfa0bee252 #1925 Tree Selection Editor : Disable auto default for expand/collapse buttons in groups 2017-09-21 20:10:04 +02:00
Magne Sjaastad
78b4fc6fe8 Documentation : Update to v 1.8.13, exclude *test* from input 2017-09-20 21:16:21 +02:00
Magne Sjaastad
47a531909a Fix missing rename 2017-09-20 12:56:29 +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
5ddb796059 AppFwk : Add multiselect field of AppEnum including highlight field 2017-09-20 10:06:57 +02:00
Magne Sjaastad
f45d065ac2 AppFwk : Add documentation for how do define OptionItemInfos 2017-09-20 10:06:57 +02:00
Magne Sjaastad
7ebc922541 AppFwk : Return reference to QTextStream for << and >> operator overloads 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
31cbd35862 Added more tests and guard for null pointer access 2017-09-19 12:01:16 +02:00
Magne Sjaastad
b078feb736 AppFwk : Add missing include 2017-09-19 11:14:08 +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
6989f69b64 Guard for null pointer access 2017-09-15 10:49:01 +02:00
Magne Sjaastad
913d6ec6ab Fix missing include detected on Linux 2017-09-13 07:30:06 +02:00
Magne Sjaastad
9d7dcefc78 (#1883) AppFwk : Refactor of WidgetBasedObjectEditor and friends 2017-09-13 07:16:18 +02:00
Magne Sjaastad
7f72dcbb4a #1883 AppFwk : Use UiWidgetBAsedObjectEditor from CustomObjectEditor 2017-09-13 07:16:09 +02:00
Magne Sjaastad
408b825497 #1883 AppFwk : Move recursiveSetupFieldsAndGroups to UiWidgetBasedObjectEditor 2017-09-13 07:16:03 +02:00
Magne Sjaastad
7e43c4e666 #1883 AppFwk : Move UiFieldEditorHelper to separate file 2017-09-13 07:09:16 +02:00
Magne Sjaastad
cb7d0ada8e #1883 AppFwk : Add WidgetBasedObjectEditor 2017-09-13 07:09:11 +02:00
Magne Sjaastad
d40a7f11c6 #1883 AppFwk : Add const access functions 2017-09-13 07:08:58 +02:00
Magne Sjaastad
13ef8fe076 #1875 Custom Object Editor : Add image from file to cell in grid layout 2017-09-13 07:08:52 +02:00
Magne Sjaastad
52ca5d5ddd #1875 Custom Object Editor : Add CustomObjectEditor to MainWindow 2017-09-13 07:08:46 +02:00
Magne Sjaastad
443e5625a6 #1875 Custom Object Editor : Add test object with many top level groups 2017-09-13 07:08:40 +02:00
Magne Sjaastad
59e818f2b8 AppFwk : Guard against null pointer access 2017-09-13 07:08:06 +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
Bjørn Erik Jensen
f1948c9ce6 AppFwk: Fix index out of bounds error 2017-09-11 12:46:44 +02:00
Magne Sjaastad
33e94c447b #1830 AppFwk : Rename to isReadOnly and disable these items in tree view 2017-09-08 07:47:23 +02:00
Magne Sjaastad
8e8c735fe6 #1830 AppFwk : Use bold on header items 2017-09-08 07:31:32 +02:00
Magne Sjaastad
5079171647 #1830 AppFwk : Remove unused variable 2017-09-08 07:03:33 +02:00
Magne Sjaastad
ffb7e42b0f #1830 :: AppFwk : Added missing include on Linux 2017-09-07 15:21:02 +02:00
Magne Sjaastad
de7c4617d8 #1830 AppFwk : Add support for icons 2017-09-07 14:56:11 +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
2f22f82ba1 #1867 AppFwk : Add PdmUiFieldEditorHandle::updateLabelFromField 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
aef886a26e #1830 AppFwk : Add heading concept 2017-09-07 14:56:09 +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
55bdf4701e #1830 AppFwk : Cache data to speed up model queries 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
Magne Sjaastad
9eab559272 #1830 AppFwk : Add level to PdmOptionItemInfo 2017-09-07 14:56:09 +02:00
Magne Sjaastad
4be32969f1 AppFwk : Linux fix : Add linking of thread library 2017-09-07 10:48:04 +02:00
Magne Sjaastad
beea898dc6 #1866 AppFwk : Move QTreeView state serializer to cafUserInterface 2017-09-07 09:34:14 +02:00
Magne Sjaastad
9d5f5b32fc #1830 AppFwk: Include user interface unit tests 2017-09-07 09:33:44 +02:00
Magne Sjaastad
f6f3ef93bc #1830 AppFwk : Use /MP for MSVC 2017-09-07 09:33:39 +02:00
Magne Sjaastad
5e6547c0c5 #1830 AppFwk : Move members to private and use getter functions 2017-09-07 09:33:33 +02:00
Magne Sjaastad
7181584657 #1830 AppFwk : Add const to constructors 2017-09-07 09:33:05 +02:00
Jacob Støren
0af879d20e Add simplified UML diagrams for Pdm 2017-09-05 12:31:16 +02:00
Magne Sjaastad
c18e9c1293 #1833 AppFwk: Add support for dynamic labels on group-boxes 2017-08-28 15:14:15 +02:00
Magne Sjaastad
5f790273e9 AppFwk : Add isFolderWritable() 2017-08-25 15:08:35 +02:00
Magne Sjaastad
51c30448e9 Merge remote-tracking branch 'origin/dev' into pre-proto 2017-08-21 10:42:11 +02:00
Magne Sjaastad
83e663ae13 System : Add caf namespace prefix 2017-08-17 14:06:57 +02:00
Bjørnar Grip Fjær
65ce0d3788 #1377 Flow Characteristics Plot: Calculate for a defined set of cells 2017-08-17 11:25:13 +02:00
Magne Sjaastad
5eb4eafb6e Merge branch 'dev' into hdf-prototype 2017-08-14 10:47:44 +02:00
Bjørnar Grip Fjær
e6fda31255 #1761 Use eclipse case directory as default path when selecting SourSim file 2017-08-11 16:08:21 +02:00
Bjørnar Grip Fjær
7179aaeac9 Merge branch 'dev' into pre-proto 2017-08-01 12:44:11 +02:00
Magne Sjaastad
3bbc1c9885 System - Add pthread to unit test link parameters 2017-07-19 16:28:17 +02:00
Magne Sjaastad
ac3abc78da System - Add missing include on Linux 2017-07-19 16:26:11 +02:00
Magne Sjaastad
5a7755fe0c System : PdmPtrField - Remove PdmPointer interface and add operator() 2017-06-30 15:06:01 +02:00
Magne Sjaastad
803c0f7ab0 #1670 Add VecIjk to AppFwk 2017-06-29 22:37:00 +02:00
Magne Sjaastad
70d3c501a4 #1668 Use "Export" instead of "OK" in export dialogs 2017-06-28 10:13:59 +02:00
Bjørnar Grip Fjær
a9d64edd57 #1643 Allow filename including extension for --case command line parameter 2017-06-27 14:49:33 +02:00
Bjørnar Grip Fjær
7c99a2573a Merge branch 'dev' into pre-proto 2017-06-20 13:26:52 +02:00
Magne Sjaastad
42dc881cec #1620 Fix copyright text and reorder includes 2017-06-16 15:47:46 +02:00
Bjørnar Grip Fjær
e5772d15f9 Add support for specifying date format for UI date fields 2017-06-16 13:46:08 +02:00
Bjørnar Grip Fjær
938fbc3670 Add UI date editor 2017-06-16 13:34:19 +02:00
Bjørnar Grip Fjær
935299b3df Merge branch 'fishbones' into pre-proto 2017-06-01 12:32:36 +02:00
Bjørnar Grip Fjær
45f5b5a80a Make more const accessors available 2017-05-29 12:56:40 +02:00
Magne Sjaastad
a45aee0cc2 Merge branch 'fishbones' into pre-proto 2017-05-23 10:28:42 +02:00
Magne Sjaastad
25e6aec94a Merge branch 'dev' into fishbones 2017-05-15 13:37:09 +02:00
Magne Sjaastad
e1e75a4fad #1476 Add helper method fileExists() which includes isFile() 2017-05-11 07:45:55 +02:00
Magne Sjaastad
a8e9cdbd17 AppFwk : Make sure edit flag is updated in PdmUiListEditor 2017-05-05 12:16:06 +02:00
Bjørnar Grip Fjær
d05049af53 #1414 Adjust margin for property view 2017-05-01 08:38:00 +02:00
Magne Sjaastad
5e14e56609 #1062 Use minimalistic title flags for dialogs 2017-04-27 14:22:47 +02:00
Bjørnar Grip Fjær
76f55c211f #1031 Fix parallel projection for linked Eclipse and GeoMech cases 2017-04-26 15:18:14 +02:00
Magne Sjaastad
c35e79c3b5 Merge branch 'dev' into pre-proto 2017-04-20 13:40:56 +02:00
Magne Sjaastad
bd47826608 Fix compiler warning 2017-04-20 12:33:18 +02:00
Magne Sjaastad
530400fb28 #1401 Notify model change when feature is activated 2017-04-20 10:17:05 +02:00
Magne Sjaastad
82b6e4b8f2 #1401 Add ModelChangeDetector 2017-04-19 22:25:31 +02:00
Bjørnar Grip Fjær
f7d72c2f60 #1073 Stable coloring of cases and wells in summary 2017-04-19 16:41:12 +02:00
Magne Sjaastad
edd4726cf5 #1408 Initialize custom combo box with StrongFocus 2017-04-18 14:57:16 +02:00
Magne Sjaastad
c6c1af06e3 #1408 Disable wheel zooom when QComboBox does not have focus 2017-04-18 14:05:48 +02:00
Magne Sjaastad
8255a3aaa3 Merge branch 'dev' into pre-proto 2017-04-03 07:34:56 +02:00
Bjørnar Grip Fjær
9f336ab16f Fix crash when changing result name when exporting multiple snapshots 2017-03-31 17:14:49 +02:00
Magne Sjaastad
3007a62238 System : Improved control of cotire 2017-03-29 08:13:45 +02:00
Magne Sjaastad
c257c52944 #1367 Fixed regression related to edit of items in ListView 2017-03-29 07:47:17 +02:00
Magne Sjaastad
6e6e884ab3 #1365 Whitespace and comment headers 2017-03-27 22:57:23 +02:00
Magne Sjaastad
bf9d65d249 #1365 Added sizeHint to QMinimizePanel 2017-03-27 22:57:23 +02:00
Magne Sjaastad
dc493b0b68 #1365 AppFwk : Allow list widgets to fill available height 2017-03-27 22:57:23 +02:00
Magne Sjaastad
7a89aee0bb #1296 Multiselect in property panel lists using ctrl-click is vulnerable to mouse drag 2017-03-24 22:40:57 +01:00
Jacob Støren
cde71ef07a #1344 AppFwk: Renamed methods in uiTreeOrdering to align with uiOrdering 2017-03-22 15:57:04 +01:00
Jacob Støren
c77e674601 #1344 AppFwk: Cleaning up in PdmUiOrdering 2017-03-22 15:02:06 +01:00
Magne Sjaastad
7095e80696 #1343 Property Editor : Use vertical scroll bar only 2017-03-21 15:32:07 +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
Jacob Støren
a1d14dc8a3 #1337 Changed the GroupBoxes to MinimizePanels to increase readability and allow collapsing of the groups. 2017-03-20 14:56:03 +01:00
Magne Sjaastad
3d67946976 Merge remote-tracking branch 'origin/dev' into pre-proto 2017-03-15 10:10:43 +01:00
Magne Sjaastad
f5c03e7518 AppFwk : Added field used to test multi selection 2017-03-13 07:39:36 +01:00
Magne Sjaastad
866350756c #1260 Fixed typo in AppFwk 2017-03-13 06:59:42 +01:00
astridkbjorke
0a945155c5 #872 When exporting several summary plots the data from different plots are stored to different files, and adding extension .csv to files files exported for wellLogPlots and summaryPlots. 2017-03-10 15:12:01 +01:00
astridkbjorke
04c9616abc #1294 - Adding function for getting save directory from dialog, checking if files already exsist in dir and if so ask in dialog if they should be overwritten. 2017-03-10 15:12:01 +01:00
Magne Sjaastad
a87ad2e56e Avoid use of CAF_ASSERT in application code 2017-03-10 14:44:00 +01:00
Magne Sjaastad
c3bf064661 #1260 Use std::abort instead of assert for release asserts 2017-03-10 14:28:22 +01:00
Magne Sjaastad
6c6049a317 #1282 Mesh lines : Use LEQUAL for depth test to make sure highest pri is visible 2017-03-08 14:27:02 +01:00
Magne Sjaastad
6791600d03 #1260 Replaced assert() with CAF_ASSERT() in AppFwk 2017-03-08 08:19:51 +01:00
Magne Sjaastad
a16a0a3bb5 #1260 Added assert that will display message in release (in addition to debug) 2017-03-07 15:45:34 +01:00
Magne Sjaastad
914b1fcab6 Replaced tab with four spaces 2017-03-07 15:43:29 +01:00
Magne Sjaastad
6a3f3e3670 Revert "#1292 Fixed CppCheck Issues in ProjectDataModel : Added assert"
This reverts commit cff588f166.
2017-03-07 12:24:35 +01:00
Magne Sjaastad
cff588f166 #1292 Fixed CppCheck Issues in ProjectDataModel : Added assert
Access the variable to silence CppCheck
2017-03-07 12:09:26 +01:00
Magne Sjaastad
811f63219c #1292 Fixed CppCheck Issues in AppFwk : Use QPointer 2017-03-07 11:36:29 +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
b2e9d3fe11 #1292 Fixed CppCheck Issues in AppFwk viewer/vizExtensions/CommonCode 2017-03-06 19:22:32 +01:00
Magne Sjaastad
749ce8e8af #1292 Fixed CppCheck Issues in AppFwk/cafUserInterface 2017-03-06 19:15:33 +01:00
Magne Sjaastad
63baebc698 #1292 Fixed CppCheck Issues in AppFwk/cafProjectDataModel 2017-03-06 19:03:31 +01:00
Magne Sjaastad
9179ae2a14 #1292 Fixed CppCheck Issues in AppFwk/cafCommands 2017-03-06 18:33:03 +01:00
Magne Sjaastad
a5ed533c00 Improved unit test so they run correctly in debug 2017-03-06 18:33:03 +01:00
Magne Sjaastad
2b029cbc11 #1280 Use nullptr instead of NULL 2017-03-02 18:30:33 +01:00
Magne Sjaastad
3089abc83d #1280 Added firstAncestorOrThisOfTypeAsserted 2017-03-02 18:30:33 +01:00
Magne Sjaastad
e41979563b #1243 AppFwk : Added line width to mesh line effect 2017-02-28 19:00:26 +01:00
Magne Sjaastad
a2e2c99167 #1243 AppFwk : Fixed typo in mesh line effect 2017-02-28 18:48:33 +01:00
Magne Sjaastad
61f94d90d9 #1243 AppFwk : Added line width to mesh line effect 2017-02-28 18:41:16 +01:00
Magne Sjaastad
28b87a1700 #1242 AppFwk : Effect Generator : Discard transparent fragments 2017-02-27 22:20:06 +01:00
Magne Sjaastad
cc5f5eddd0 Merge remote-tracking branch 'refs/remotes/origin/dev'
Conflicts:
	ApplicationCode/ProjectDataModel/CMakeLists_files.cmake
2017-02-22 13:12:23 +01:00
Magne Sjaastad
38485fd96d Added caf prefix to virtual methods 2017-02-22 13:02:05 +01:00
Magne Sjaastad
421dda1042 #1245 Property Editor : Use size hint displaying preferences 2017-02-22 11:58:56 +01:00
Magne Sjaastad
1753449772 Merge remote-tracking branch 'refs/remotes/origin/dev'
Conflicts:
	ApplicationCode/ProjectDataModel/CMakeLists_files.cmake
	ApplicationCode/UserInterface/RiuViewerCommands.cpp
2017-02-22 09:42:51 +01:00
Magne Sjaastad
23ec61192c #1093 Enable copy of text from read only fields 2017-02-20 15:32:23 +01:00
Magne Sjaastad
75f2a6cb9f #1236 Property Editor : Scroll bar for reduced screen area 2017-02-20 14:32:12 +01:00
Magne Sjaastad
820e574a61 Added const access 2017-02-20 09:26:11 +01:00