Klaus Basan
63dab2dd28
refs #506 , using filters in view/logcomponet
2017-01-10 23:45:50 +00:00
Klaus Basan
3c8056c838
refs #506 , use digest signal modelDataChangedDigest
2017-01-10 23:45:46 +00:00
Klaus Basan
97819f0154
Formatting
2017-01-10 23:45:38 +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
6e1efaf88a
refs #822 , display file ts in views
...
* consolidated models
* renamed flags
2016-12-13 19:01:53 +01:00
Klaus Basan
3d314f8820
refs #808 , UI for CSimulatorInternals
...
* some functions renamed
* update function and view for internals
2016-12-13 19:01:03 +01:00
Klaus Basan
4d7e69e5b0
Minor formatting
2016-12-13 19:00:02 +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
c86f56fae9
Some renaming and minor improvements in mapping view
...
* fixed issue with ambigious title
* renamed to ps_toogleEnabledAircraft
2016-12-06 09:47:08 +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
61ac328d10
refs #735 , remove invalid objects from stash
...
* button "remove invalid objects"
* tab order fixed
2016-08-26 21:05:36 +01: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
227262c2cc
refs #720 , finetuning
...
* show menus even if DB is not present
* avoid selection of too big data set (which takes to long to handle)
* remaining renamings
* show all sims in menu, even if not intalled
2016-08-26 21:04:31 +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
Klaus Basan
4b8ab847a0
refs #661 , added a label/icon to context order menu as proposed in the meeting
2016-06-08 18:20:41 +02:00
Klaus Basan
54b1234f7f
refs #649 , refs #658 fixed includes to new subfolders "db"
...
some style changes in same step
2016-06-08 18:20:23 +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
Klaus Basan
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Klaus Basan
92c638cee4
Workaround for improper formatting of vPilot rules
...
found druing testing of #648
2016-05-07 20:11:52 +02:00
Klaus Basan
1a62de8dc3
refs #641 , improvements/fixes of orderable lists / models / views
...
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Klaus Basan
2da14e3b62
refs #648 , change existing context menus
2016-05-07 20:11:46 +02:00
Klaus Basan
acc1d4fd74
refs #640 , changed view base classes to use new context menus
...
* keep menu actions on heap where possible
* adjusted signatures
2016-05-07 20:11:46 +02:00
Klaus Basan
7d43af343e
refs #641 , support for IOrderable in specialized views/models
...
* menu to order objects per drag and drop
* changed model/views to specialized model/views
2016-05-07 20:11:37 +02:00
Klaus Basan
e877c6dba5
Better performance for filter
...
* valid filter flag only calculated once
* Better removal detection of filter dialog
2016-04-11 20:22:12 +02:00
Klaus Basan
9409f93366
refs #614 , allow to resize view by presize algorithm
2016-04-11 20:16:08 +02:00
Klaus Basan
600cd52f30
view base improvements
...
* Use direct update function (not via CVariant anymore)
* refresh indicator
* new signal syntax
2016-04-11 20:16:06 +02:00
Roland Winklmeier
d379f14133
Introduce build config template buildconfig.h.in
...
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
fe677a5594
refs #618 , functions allowing to validate and modify loaded JSON data
...
* models can be reduced to one simulator
* a JSON model list can be loaded and the simulator derived from the distribution
2016-03-30 18:22:26 +02:00
Klaus Basan
5c1ce9763e
refs #618 , removed MenuHighlightInvalid menu flag
2016-03-30 18:22:25 +02:00
Klaus Basan
2515c8235d
refs #618 , adjusted menus
...
* new signal slot syntax
* sub menu
2016-03-30 18:22:21 +02:00
Klaus Basan
d509c6b0b5
refs #618 , allow to modify and validate data when loaded for a view
...
* allows to reject data considered incorrect
* data can be modified and adjusted after loading before displaying
2016-03-30 18:22:15 +02:00
Klaus Basan
4cecd2a4d0
refs #618 , allow to set file name for saving in views
2016-03-30 13:41:55 +02:00
Klaus Basan
6fdddf8f93
refs #618 , allow to update/add models based on model string
...
* functionality in list
* access via view
* fixed count for changed objects in datastoreobjectlist (now detects replacements)
2016-03-30 13:41:53 +02:00
Klaus Basan
7beb5661a3
refs #618 , moved menus to menu subfolder
...
* generated some generic menus which can be reused
* adjusted view base
* new menu to merge with DB data
2016-03-30 13:41:52 +02:00
Klaus Basan
a2322aa13b
Applied viewport fix for views found here http://stackoverflow.com/q/3433664/356726
...
* Use new signal/slot syntax
* renamed resize mode
* Using sampleElements for presizing, some finetuning
2016-03-30 13:41:48 +02:00
Klaus Basan
87a0c75f43
refs #621 , use getXX for setup members, no idea why I have not used our standard
2016-03-30 13:41:44 +02:00
Klaus Basan
18c1da8502
refs #619 , allow to open file load / save dialog from view
2016-03-30 03:07:20 +02:00