Commit Graph

105 Commits

Author SHA1 Message Date
Klaus Basan
117e8996bb Formatting, minor UI tweaks
* minor renamings in simulator selector
* simplified namespaces

Ref T246
2018-02-10 21:57:38 +01:00
Klaus Basan
5d56c295f8 Dtor in view base 2018-01-30 20:30:23 +01:00
Klaus Basan
b74652c94a Ref T220, renamed some main window / widget functions
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Klaus Basan
d4b4b48a55 Ref T190, improved display of text messages
* tooltip
* using QStringBuilder
2017-12-21 19:45:22 +01:00
Klaus Basan
6650ec89d3 Ref T189, formatting 2017-12-21 19:45:08 +01:00
Klaus Basan
3d76eabac5 Ref T189, context menu "Clear highlighting" only if there are highlighted rows
* added customMenu in template
* added hasHighlightedRows
2017-12-21 19:45:05 +01:00
Klaus Basan
3876b010cb Ref T176, set selection mode deferred because otherwise it will be overidden from UI builder code 2017-10-31 15:39:40 +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
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
c39b8cd7fd Ref T30, use font shortcuts with dock widget
(instead of view)
2017-09-24 19:50:43 +01:00
Klaus Basan
534ba5f9ec Ref T30, integrated font menu into view base 2017-09-24 19:49:48 +01:00
Klaus Basan
43bd700687 Ref T63, remember directory 2017-05-09 19:13:56 +02:00
Klaus Basan
77100fc09e Ref T67, display load status messages 2017-05-09 19:13:47 +02:00
Klaus Basan
ff4b37b3fe refs #923, use CVariant JSON to load/save from view 2017-04-18 00:06:19 +01:00
Klaus Basan
864e64e295 refs #911, shortcut for cut/copy
* changed unselect
* use CTRL+C for copy
2017-04-18 00:06:17 +01:00
Klaus Basan
08f8916344 refs #922, refs #911, JSON cut/copy/paste
* utility function for CVariant
* use CVariant for cut/copy/paste
2017-04-18 00:06:15 +01:00
Klaus Basan
5e69be6208 refs #911, support for cut and paste menu and support in views 2017-04-18 00:05:36 +01:00
Klaus Basan
6825524025 Improved status message filtering
* avoid re-init of widget if already initialized
* allow icons instead of text for severity radio buttons
* changing severity filter directly triggers new filtering
* use icon for new button
* init this->showFilterBar() as default (otherwise not functional)
* widths for filter bar buttons
2017-04-18 00:04:59 +01:00
Klaus Basan
30ef3eedf9 refs #900, filtered flag for containerOrFilteredContainer
more reliable than other approaches
2017-04-17 23:58:37 +01:00
Klaus Basan
1522c8175e Better model selection, much faster 2017-02-24 00:19:01 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Klaus Basan
0a611890e8 refs #855, use Qt5 isSignalConnected feature to hide menus not used 2017-01-10 23:47:33 +00:00
Klaus Basan
02cbd8e00d refs #855, timeout support in view
* clear also hides indicator
* standard functions use timeout to hide indicator just in case something goes wrong
2017-01-10 23:47:29 +00:00
Klaus Basan
c2861b792c refs #855, re-center load indicator when resizing views 2017-01-10 23:47:24 +00:00
Klaus Basan
3939b0166f refs #853, JSON exception handling in view base class 2017-01-10 23:47:18 +00:00
Klaus Basan
b35bbd8b81 refs #849, model/view for statistics 2017-01-10 23:46:52 +00:00
Mathew Sutcliffe
bda0f42c60 refs #815 Mark with \todo the remaining places where CJsonException needs to be caught. 2017-01-10 23:46:37 +00:00
Klaus Basan
3c8056c838 refs #506, use digest signal modelDataChangedDigest 2017-01-10 23:45:46 +00:00
Klaus Basan
97137c46a6 refs #785, use selection interface with views
* adjusted sortByPropertyIndex, selectObjects
* function to select by row numbers
2017-01-10 23:45:11 +00:00
Klaus Basan
eb3b2252a2 refs #830, use settings in views
also avoid changing style when not needed
2016-12-13 19:02:22 +01:00
Klaus Basan
5babb26861 refs #800, fixed issues reported by MS
https://dev.vatsim-germany.org/issues/800#note-2
2016-12-13 18:59:51 +01:00
Klaus Basan
5ac701274b Show "loading" indicator when loading from backend is requested 2016-12-06 09:33:30 +01:00
Klaus Basan
630fecf8e8 refs #768, allow reselection of values when a view is sorted
* reselect callbacks
* remark: Only working in some cases as sorting is part of the model, while selection is part of the view (and sorting can take place without the view knowing the model is sorted)
* allow to sort by property index
* renamed to m_sortColumn
2016-12-06 09:33:11 +01:00
Klaus Basan
610dba2028 refs #757, materialize filtered data
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +02:00
Klaus Basan
58faed5ea7 refs #745, removed unused hover code
(this was a trial to highlight the drop position, the callback function was kept)
2016-08-27 14:31:42 +02:00
Klaus Basan
b324a26747 refs #735, allow to reset highlighting
(some leftovers of DB object highlighting also deleted)
2016-08-26 21:05:33 +01:00
Klaus Basan
a8834d0511 refs #720, remove highlight DB data menu (we use the DB icon instead)
* removed menu item
* fixed menu action, so parents submenus are searched upwards
2016-08-26 21:04:36 +01:00
Klaus Basan
1167735897 refs #720, adjusted exposed functions to new naming
* some minor formatting
* use the new condolidation functions
2016-08-26 21:04:23 +01:00
Klaus Basan
31921f34ef refs #709, use load indicator for load overview
(indicating reloading)
2016-07-28 21:08:19 +02:00
Klaus Basan
a5aed9b346 GUI improvements found during #707
* logs only screen in core as default
* find top window, only use Qt::WA_TranslucentBackground on top level (Qt 5.6.1)
* correct presize when insert
* resize ATC when first station is added
2016-07-14 18:49:25 +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
c1179ed52b refs #680, now display CDockWidget context menus in views/info area 2016-06-23 20:13:34 +02:00
Klaus Basan
32d6d68c83 refs #674, code for hover/drop indicator
* item delegate for callback to view for hover
* proxy style for draw drop indicator as primitive
* added functions to view base for hover / callbacks
* highlight hover row in model
2016-06-23 20:13:28 +02:00
Roland Winklmeier
6a79802c1b Weather UI Views
refs #663
2016-06-17 10:46:31 +02:00
Klaus Basan
993a0ebbe9 View / model fixes / improvements
* allow upfront checking of formatter roles
* selection mode menus adjusted (data approach no longer worked with CSlot)
* removed unused style sheet parts
* minor View/Model tweaks/formatting
2016-06-15 00:11:18 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +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