Commit Graph

41 Commits

Author SHA1 Message Date
Klaus Basan
054db94997 Added an (experimental) tree view to ATC stations 2015-01-24 01:16:46 +01:00
Klaus Basan
50307c1182 Changed model to QAbstractItemModel 2015-01-24 01:16:38 +01:00
Klaus Basan
5ae8f074b8 refs #368, updated models to reflect changes
* update count with filter
* used alternative sortable columns
* added classes for SimulatedAircraft
* supporting filters
2015-01-24 01:15:43 +01:00
Klaus Basan
53078cc8ae refs #368, improved column handling in views
* columns can be marked non-sortable
* alternative column for sorting
* checkable column formatters
* moved functions to cpp file
2015-01-24 01:15:35 +01:00
Klaus Basan
23d3ea3ec5 refs #368, filter for views 2015-01-24 01:15:32 +01:00
Klaus Basan
0b03ac1339 Hide model string for ATC clients 2014-12-28 22:20:43 +01:00
Klaus Basan
4a94a125f2 refs #358, GUI for installed / matched models
* model / view / component classes
2014-12-28 22:19:54 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Mathew Sutcliffe
f80d7e27d1 refs #247 Using CVariant in blackgui. 2014-12-13 01:42:00 +00:00
Mathew Sutcliffe
16e285cecd refs #247 Style. 2014-12-13 01:38:53 +00:00
Klaus Basan
97e04f8360 Human readable log category:
* fixed propertyIndex in CStatusMessage
* added method for human readable messages in CStatusMessage
* added typeid based category for classes
* listmodel for staus messages, added column and removed outdated data method
* columns, in class init
2014-11-30 00:56:48 +01:00
Klaus Basan
44d0cd002b refs #288, adjusted server and network views
* aircraft settings are gone, move to login screen
* no selected server needed anymore
* marked outdated methods as deprecated
2014-11-30 00:55:09 +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
Klaus Basan
65c2ed9db4 refs #335, new icons, textures / placeholders 2014-11-22 19:13:59 +01:00
Mathew Sutcliffe
9b06bb1a1e Fix for CListModelBase::at to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-16 13:51:54 +00: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
Klaus Basan
e745885906 refs #325, added some comments to simplify review 2014-10-07 13:10:47 +02:00
Klaus Basan
7304d8bd3e refs #325, name variant pair allows test for existing values
* equal value updates can be skipped
* equalsQVariant in CValueObject
* resizing parameter for views
2014-10-07 13:10:43 +02:00
Klaus Basan
f10e625b7f Added tooltips for some columns
* tooltips in views
* new helper method with tooltip
2014-10-07 13:10:42 +02:00
Klaus Basan
ae0ef4283c Display number of table rows in tab
* countChanged event
* applied in components
2014-10-07 13:10:41 +02:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
dc3eff1c1f refs #325, added async update member function to CListModelBase / CViewBase (+ resize modes)
* model:
** required a non templated base class for Q_OBJECT / slots
** added worker for thread, QConcurrent is not used as it does not work with template classes
* views:
** added cpp file for view base class
** added template parameter for container in views
** different modes how resizing will be applied
2014-10-07 13:10:28 +02:00
Klaus Basan
9e6a9a28cb Fixed bug in CListModelBase, avoid double sorting 2014-10-07 13:10:21 +02:00
Klaus Basan
2a11411bc0 refs #325 added sort flag for models / views, allow to update, but not to sort 2014-10-07 13:10:19 +02:00
Klaus Basan
5d6713032f Formatting, new icons 2014-10-07 13:10:17 +02:00
Klaus Basan
2d7fe607fe Fixed station list tooltips 2014-10-07 13:08:16 +02:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Klaus Basan
473f8cd608 Debug messages to monitor model reloading/sorting, will be removed later 2014-09-09 20:07:19 +02:00
Klaus Basan
62010a09c8 refs #319, Doxygen, headers, formatting 2014-09-09 20:07:17 +02:00
Klaus Basan
983a8d5d30 Using QMetaType::Type instead of QVariant::Type
Auto as per review of refs #319
2014-09-09 20:07:13 +02:00
Klaus Basan
9567d1aedf refs #319, added column formatters
* Specialized formatters (e.g. for bool, for PQs etc.) allow specialized look and feel for each column
* Fixed isValidComFrequency used for formatters
* Changed models to use formatters
* Outdated propertyByIndexAsString methods removed
* During the above tasks: fixed override keyword in some places
* Column tooltips
* refs #323, wrong column name fix
2014-09-09 20:07:12 +02:00
Klaus Basan
d88c1bb252 refs #314, changed models and views to new CPropertyIndex approach 2014-08-24 02:47:01 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Roland Winklmeier
f76e0bc957 refs #313 Change GUI classes to use new hotkey settings wrapper classes 2014-08-19 15:30:04 +02:00
Klaus Basan
f8774540f2 Some refactoring for model base / view base
* update by int index (row)
* updateContainer renaming
2014-08-05 23:31:57 +02:00
Klaus Basan
9afc9024ca refs #303 Simulator table view
* Simulator component
* Name / variant pair object / view / model
2014-08-05 23:31:56 +02:00
Klaus Basan
42f89ebeca refs #304, Icons, using new CIcon class 2014-08-05 23:31:55 +02:00
Klaus Basan
5873ec9359 refs #304, centralized icons
* icons which can be rotated
* provide metadata
* integrated in CValueObjects
* added SVG support
2014-08-05 23:31:54 +02:00
Klaus Basan
6d5461cff8 Formatting, headers, Doxygen 2014-08-05 23:31:53 +02:00
Klaus Basan
c500a561be refs #300, moved models in own namespace and directory 2014-08-05 23:31:45 +02:00
Klaus Basan
8a5a268a77 refs #304, refs #307, refs #173 as preparation for GUI, name / variant pair
* for a generic table and tree view
* generic name pair models and view
* Hash for variant
2014-08-05 23:31:41 +02:00