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
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
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
Klaus Basan
fb046ae1fb
refs #485 , moved central GUI functionality to sGui
...
* allow to send status message to main window (from everywhere)
* Use sGui::changedStylesheet where possible
* message when model is stashed
* improved application startup
2016-03-18 01:09:11 +00:00
Klaus Basan
873f5f04b9
refs #587 , allow to modify multiple properties at once
...
functions to update a property map
2016-02-05 18:00:08 +01:00
Klaus Basan
de4b07dc32
refs #576 , tweaking view base
...
* renaming in view base (similar to Qt name rowCount)
* insert function for whole container
2016-02-05 17:59:54 +01:00
Klaus Basan
551f3348f4
refs #377 usability improvements
...
* allow to toggle between single, multi and extended selection
* all DB data can be read by menu
* fixed load/save (test data) from disk
2016-02-05 17:59:52 +01:00
Klaus Basan
0dda9024d1
Improved sort indicator
2016-01-28 16:31:51 +01:00
Klaus Basan
b4dc21eeb4
refs #568 , improved validation and handling
...
* invalid models can be highlighted on stash
* selection mode can be toggled between single/multi selection (where applicable)
* color for highlighting can be set
* finetuning of menus
2016-01-28 16:31:50 +01:00
Klaus Basan
11ee49a382
refs #568 , allow to stash from DB data view (model view)
...
* added required signal slots
* moved models for stashing into aircraft model view
* allow to unselect when stashed
* fixed DB object highlighting and resize row height automatically
2016-01-28 16:31:49 +01:00
Klaus Basan
46e7d42e8c
refs #568 , specialized view class for DB objects
...
* CViewWithDbObjects
* new menu for views (delete key, remove)
* adjusted derived classes
2016-01-28 16:31:43 +01:00
Klaus Basan
9fcc846b7a
refs #560 , allow to load / save from view/model
...
* added load/save functions
* changed menu from multiple bool members to flag
* shortcut for save
* cleaned up filter dialog handling
2015-12-20 17:01:32 +01:00
Klaus Basan
24788b03c6
refs #535 , made views drop capable
...
* drop base added
* and adjusted
2015-12-20 17:00:01 +01:00
Klaus Basan
ecb4694c7f
refs #535 , updated viewbase and formatters
...
* Fixed wrong masking
* changed signal for model
* update selected models
* directly set object in model
2015-12-20 16:59:30 +01:00
Klaus Basan
3d96e2e332
Shortcut for filter
2015-12-08 20:14:25 +01:00
Klaus Basan
8e852b19ae
refs #525 , specialized model class for DB entities and improved funtions in view base class
...
* will allow to highlight entities
* nested custom menus
* moved displayAutomatically() menus in view base class
* fixed which menus are displayed for aircraft models
* also changed to QStandardItem model to see if this is causing any trouble (the real bigger changes will follow in #530 )
2015-12-08 20:14:11 +01:00
Klaus Basan
1fc7300982
refs #507 , split up blackmiscfreefunctions
...
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
3acf085b92
refs #477 , allow to detect an invisible dock widget parent by using CEnableForDockWidgetInfoArea for the view base
...
(by that I can tell if the parent dock widget is visible)
2015-11-19 21:04:37 +00:00
Klaus Basan
1b75f068be
refs #488 , allow to select items in views and clear the console
2015-11-19 21:03:31 +00:00
Klaus Basan
42304f640b
refs #477 , load indicator appears in wrong place.
...
A first improvement by re-centering it when view becomes visible.
2015-11-19 21:00:40 +00:00
Klaus Basan
f0fc1cba42
refs #452 , views upgraded
...
* load indicator when performing long lasting operations
* custom menu can be injected (->menu delegate)
* resizing based on random elements (subset resized only)
2015-11-19 20:59:28 +00:00
Mathew Sutcliffe
f50400bd94
refs #457 Use cases for CWorker non-void tasks and thenWithResult().
2015-11-19 20:58:24 +00:00
Roland Winklmeier
08a1de995a
refs #454 #455 #458 Remove obsolete code
2015-11-19 20:58:06 +00:00
Klaus Basan
b308014bc2
refs #445 , models and views for new value classes
...
* livery
* distributor
2015-11-19 20:57:24 +00:00
Mathew Sutcliffe
d4d862927e
refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable.
2015-06-06 18:02:16 +01:00
Klaus Basan
e04ada3a7c
refs #437 , remove convertFromCVariant
2015-05-31 01:31:09 +02:00
Roland Winklmeier
e4f2c9e88a
Replace occurrences of CVariant::toCVariant() with CVariant::from()
2015-05-30 16:59:51 +02:00
Klaus Basan
6e2830c130
refs #432 , originator list model + view
2015-05-28 23:57:24 +02:00
Klaus Basan
48dc360237
Removed old model/views for aircraft, now all with simulated aircraft
...
Updates of models in view now manually / automatic possible
Allow to reload models (in backend)
2015-03-20 17:11:38 +01:00
Klaus Basan
79b3cf3cd3
Misc. imorvements as discussed in RW/KB worksho
...
* preparation for a context menu to send text messages from ATC/aircraft view
* preparation for context menu for fast pos. updates
* reverse ICAO lookup at login screen
* display fast updates / parts in GUI
* moved max- aircraft into settings
* made serverselection own component
2015-03-20 17:11:10 +01:00
Klaus Basan
269c65b578
As of workshop RW/KB, improved / fixed text messages
...
Also refs #351
* messages can be formatted with style sheet
* fixed: removed command from message
* added originator to command line
* msg parsing now in core
* using ITimestampBased for text messages and status messages
* allow to resize rows to content (view base)
* model / views for text messages
* removed old qt stylesheets
2015-03-20 17:10:58 +01:00
Klaus Basan
23d3ea3ec5
refs #368 , filter for views
2015-01-24 01:15:32 +01:00
Klaus Basan
b26fa651ed
Allow to select COM frequencies from ATC view (context menu)
...
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +01:00
Klaus Basan
4a94a125f2
refs #358 , GUI for installed / matched models
...
* model / view / component classes
2014-12-28 22:19:54 +01:00
Mathew Sutcliffe
f80d7e27d1
refs #247 Using CVariant in blackgui.
2014-12-13 01:42:00 +00:00
Klaus Basan
d581dda272
Formatting, Doxygen
2014-11-30 00:57:04 +01:00
Klaus Basan
facbefeeea
Fixed some minor GUI issues
...
* resizing for floating widgets
* vertical policies
* menus for views
* margins for keypad
* using property mainwindowframeless in style sheet
2014-11-30 00:56:58 +01:00
Klaus Basan
0a016406b4
Fixed Clang warning about hidden function name
2014-11-30 00:56:20 +01:00
Klaus Basan
43ecc238ed
refs #335 , Minor tweaks:
...
* Formatting
* renaming
* fixed some issues of cppcheck
* new icons
* smooth scrolling in views, stretching for few columns
* fixed start timer in updatetimer
* background colors of some LEDs
2014-11-30 00:53:23 +01:00
Mathew Sutcliffe
8664ed01a8
refs #325 , used MS' worker class and removed redundant code
...
* contains "hacked-in demonstration of CWorker usage"
2014-10-07 13:10:50 +02:00