Commit Graph

948 Commits

Author SHA1 Message Date
Magne Sjaastad
d108e1f354 AppFwk : Guard use of timestamp() function introduced in Qt5 2019-06-25 18:02:47 +02:00
Jacob Støren
2930d41521 AppFwk: Fix of Qt5 OpenGL related problems: Offset + Context deletion.
Added option to control the direction of the parallel projection headlight
Added optional visualization of point of interest to caf::Viewer
2019-06-25 17:01:38 +02:00
Jacob Støren
936d2e122d AppFwk: Added optional adaptive rotation sensitivity to CAD and Ceetron Plus navigation policies 2019-06-25 16:59:53 +02:00
Jacob Støren
87d673b672 VizFwk: Added method to set the ManipulatorTrackball sensitivity 2019-06-25 16:56:43 +02:00
Jacob Støren
78a705f05c AppFwk: Qt5: Avoid use of an obsolete class 2019-06-25 16:55:03 +02:00
Jacob Støren
b0e73b7422 VizFwk: Fixed scaling bug in paralell projection for FixedSizeTransform. Was always 1 pixel high 2019-06-25 16:53:01 +02:00
Jacob Støren
b802937657 Fwk: Added the variable CEE_USE_QT5 as an option in pdmCore and LibGuiQt, to make it visible in the Cmake Gui. 2019-06-25 16:51:45 +02:00
Jacob Støren
cc2b19cb57 AppFwk: Added a tabbed property view dialog as convenience until we have a "tab" option in the uiOrdering system 2019-06-25 16:50:46 +02:00
Jacob Støren
ce91cc3cc2 AppFwk: PdmSettings: Added methods that reads and writes (only) valuefields of an object properly 2019-06-25 16:50:03 +02:00
Jacob Støren
183988befd AppFwk: Filepath Editor: Made browse button inactive when field is read only. 2019-06-25 16:47:22 +02:00
Jacob Støren
f1dfab0433 AppFwk: Make push button editor fill the column if Label position is HIDDEN 2019-06-25 16:46:29 +02:00
Jacob Støren
72d4c0b51a AppFwk: Added pdm field of cvf::Mat3d 2019-06-25 16:42:38 +02:00
Jacob Støren
eb258ee742 AppFwk: Added missign guard against nullptr 2019-06-25 16:41:22 +02:00
Gaute Lindkvist
5365f4dd7d Caf build fixes for CEE_USE_QT5 2019-05-31 11:00:32 +02:00
Gaute Lindkvist
a413da41b4 Glew Qt5 Fix for VizFramework 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
9cf0b7cb86 #4448 Add -lrt and -lpthread to standalone CEEVIZ build on Linux 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
a54e3f30c4 Fix CVF compile flags on GNUCXX 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
6ba9d42b45 #4448 Move Resinsight from -std=c++0x to -std=c++11 on GNU CXX 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
6839e82613 #4448 Clean up Qt5-detection CVF 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
10afe4987b #4448 Clean up CAF Qt5-enabling/detection 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
0544b19afe Fix carriage return difference in CafPdmModel_UnitTests 2019-05-28 15:58:48 +02:00
Gaute Lindkvist
8f3eb6a748 Add Qt5 test to AppFwk main CMakeLists.txt and update CAF to use CEE_USE_QT5 2019-05-28 15:58:48 +02:00
Gaute Lindkvist
922386c673
#4416 First implementation of gRPC-based Python interface
First implementation with Asynchronous gRPC server, a few services and some client python code.
2019-05-20 13:21:02 +02:00
Gaute Lindkvist
af1a5790a2 Fix crash in some unit tests from constructing a QPixmap without a QApplication 2019-05-06 13:35:05 +02:00
Magne Sjaastad
911b69b56f #4388 AppFwk : Make sure context menu policy is set correctly in all use cases 2019-05-06 11:58:06 +02:00
Magne Sjaastad
a852d1a50e #4388 AppFwk : Rename and rewrite of PdmUiFieldHandle::notifyFieldChanged 2019-05-06 11:58:06 +02:00
Magne Sjaastad
50ee79f6c3 #4388 AppFwk : Always mark field as used when editor is created 2019-05-06 11:58:06 +02:00
Magne Sjaastad
9e7467309d #4388 AppFwk : Set parent editor when field editor is created 2019-05-06 11:58:06 +02:00
Jacob Støren
01ac756314 AppFwk: Added a parent editor concept, and adjusted the update regime to make embedded editors trigger update of the containing editor. Removed the update of the fields owner object, which causes trouble for table editors and some derived object editors. 2019-05-06 11:58:06 +02:00
Magne Sjaastad
088b5513a7 #4388 AppFwk : Remove problematic setUiField() calls
setUiField() call used to keep track of which fields that is retained when updating an editor. Replace this workflow with a set of the ones that are used, and use this set to clean up unused editors afterwards.
2019-05-06 11:58:06 +02:00
Gaute Lindkvist
fe0624e304 Fix build problems in cafTestApp following headless changes 2019-05-06 11:48:23 +02:00
Gaute Lindkvist
30769d7f2a Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString 2019-05-06 11:08:59 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
4c46573fc9 Reintroduce "#4308 System : Add virtual function childFieldChangedByUi"
This reverts commit 91022a7535.
2019-05-03 12:13:11 +02:00
Magne Sjaastad
91022a7535 Revert "#4308 System : Add virtual function childFieldChangedByUi"
This reverts commit fbf9308e2b.
2019-05-03 11:16:09 +02:00
Magne Sjaastad
9ae6b79271 #4387 System : Move clang-tidy and clang-format into ApplicationCode
Prepare for format-on-save
2019-05-03 09:15:18 +02:00
Magne Sjaastad
a5a70dd83c #4356 Qt5 : Conversion of float value to text string does not work for all values 2019-04-25 06:52:40 +02:00
Gaute Lindkvist
4b07387a93 Minor tweak to color editor 2019-04-23 08:38:49 +02:00
Magne Sjaastad
d6b5444c51 Add missing includes 2019-04-12 15:33:11 +02:00
Gaute Lindkvist
798e3ff19e #4256 Update fonts in Project and views when changing preferences 2019-04-12 14:47:21 +02:00
Gaute Lindkvist
c82a4a5537 #4316 Fix context menu with multiple selected well paths 2019-04-12 09:09:12 +02:00
Magne Sjaastad
fbf9308e2b #4308 System : Add virtual function childFieldChangedByUi 2019-04-10 13:55:44 +02:00
Gaute Lindkvist
72052377dc #4305 Adjust size of layouts and labels if the sizeHint has changed 2019-04-09 13:53:33 +02:00
Gaute Lindkvist
c0f3258f19 Work in progress 2019-04-09 10:30:15 +02:00
Gaute Lindkvist
02f769fd31 #4299 Make sure the size hint for property view is large enough for the content 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
a6dda48606 Add stylesheet tools to caf 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
4e92a7e44a More consistent naming for Qt-derived classes in CAF 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
22880d511b #4280 Improve animation progress bar 2019-04-08 14:24:43 +02:00
Magne Sjaastad
387d7cf7c2 System : Use appropriate mode when displaying a cmake message 2019-04-08 12:32:14 +02:00
Gaute Lindkvist
a8e14e9f9a Fix copyright header and namespace for cafShortenedQLabel 2019-04-05 17:31:07 +02:00