Commit Graph

30 Commits

Author SHA1 Message Date
Klaus Basan
26dcc547e6 Misc. smaller fixes
* copy configuration dialog handles case if there is no other swift version
* QPointer "guard" for lambda
* first model set UI
2018-05-25 21:35:11 +02:00
Klaus Basan
3f4cb7529c Guard QTimer::singleShot 2018-05-08 16:06:52 +02:00
Klaus Basan
977130ce52 Overlay messages
* setReducedInfo, no timestamp/category
* color as parameter for shadow
2018-01-17 03:33:37 +01:00
Klaus Basan
ceaf224a4f Ref T203, overlay messages can be forced small and factors set 2017-12-21 19:49:04 +01:00
Klaus Basan
06b184a747 Ref T182, overlay messages can be closed + some fixes
* no slots needed
* check for nullptr
* init kill button correctly
2017-11-09 04:42:17 +01:00
Klaus Basan
0b388cb103 Ref T177, addressing some overlay messages frame issues
* use enum for buttons
* removed unused declaration setInnerFrameFactor
* private slots -> private
2017-10-31 15:39:38 +01:00
Klaus Basan
f8e672b04f Ref T154, resize rows height for overlay messages
* for smaller container sizes switch to row content resizing
* row content resizing is slow -> only for small container sizes
* user still can switch manually (context menu) to row resizing
* default is interactive row resizing
2017-09-24 20:28:54 +01:00
Klaus Basan
6c3a0243ab Follow up of Ref T154, overlay messages can be appended and cleared
* changed signatures
* aligned naming to showOverlayMessage, ...
2017-09-24 20:28:52 +01:00
Klaus Basan
ab65039ca4 Follow up of Ref T154, messages can be exported (and hence added to a bug tracking issue for instance) 2017-09-24 20:28:50 +01:00
Klaus Basan
9ba61cacf6 Ref T138, allow multi line messages 2017-09-24 19:53:44 +01:00
Klaus Basan
2d56167e65 Misc: removed redundant default value (settings), formatting, hide kill button 2017-04-18 00:08:25 +01:00
Klaus Basan
6999a97f73 Allow to globally disable the kill button
(only needed in swift pilot client so far)
2017-04-17 23:58:35 +01:00
Klaus Basan
8ca8f51802 refs #883, overlay messages can have shadow 2017-02-24 15:22:06 +00:00
Klaus Basan
873823eaa1 refs #883, improved position and layout of overlay message frame 2017-02-24 15:22:04 +00:00
Klaus Basan
368b955c66 refs #883, Kill button for overlay error messages
Example: swift pilot client started for core, but core not running. There is no way to stop the application as there are permanent errors.
2017-02-24 15:21:38 +00:00
Klaus Basan
a7469d2959 refs #841, use settings to decide which text message is displayed 2017-01-10 23:45:36 +00:00
Klaus Basan
4e5413ff3f refs #832, overlay messages may be overridden with pending confirmation dialogs
found during #832
2016-12-13 19:02:26 +01:00
Mathew Sutcliffe
39188fa7a8 refs #800 Fixed logic error (all control paths lead to assert). 2016-12-13 19:00:33 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
635410857e refs #419, reviewed style sheet paintEvent code
* removed for QWidget
* added for QDialog
http://stackoverflow.com/questions/37952348/enable-own-widget-for-stylesheet
2016-06-25 16:00:30 +02:00
Klaus Basan
771c531125 Avoid scaling for null pixmaps (results in warnings) 2016-06-08 18:20:38 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
b78308b059 follow up of refs #643, allow to display icon in overlay window
* some optimization to check if icon is available
* menus for context menu
* allow to display icon/image in overlay window
2016-05-05 20:49:17 +02:00
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
b1353cefd4 refs #485, renamed overlay messages functions 2016-03-18 01:09:09 +00:00
Klaus Basan
c0b66d93f1 refs #568, allow to confirm (OK/CANCEL) in overlay window
So we can display status messages in the same step and decide what to do
2016-01-28 16:31:45 +01:00
Klaus Basan
d3487bb375 Event accept 2015-12-20 16:57:53 +01:00
Klaus Basan
8e57914e67 refs #471, removed old info window and migrated to overlay widget
* added small message display (more suitable for swift GUI)
* fixed nullptr bug with ESC key
* adjusted swift GUI
2015-11-19 21:06:33 +00:00
Klaus Basan
4804d81857 refs #471, overlay widget for text messages and variant 2015-11-19 21:04:17 +00:00
Klaus Basan
61ace53989 refs #452 overlay messages (allows to display overlay messages in a widget)
* the overlay widget itself
* a QFrame derived class allowing to display such widgets as overlay
2015-11-19 20:59:41 +00:00