Commit Graph

28 Commits

Author SHA1 Message Date
Mat Sutcliffe
2b72600937 Explicit template instantiations for mixins for value classes
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00
Mat Sutcliffe
b1185eb541 Issue #77 toIcon returns a simple enum instead of a full object 2020-12-19 18:50:31 +00:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00:00
Mathew Sutcliffe
6f972035ab refs #800 Fixed some declaration shadows variable in outer scope warnings. 2016-12-13 19:00:27 +01:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Mathew Sutcliffe
d13e863218 refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed. 2015-11-19 21:02:16 +00: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
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Klaus Basan
9c75ff2db5 Fixed gcc warnings 2015-04-11 09:10:59 +02:00
Klaus Basan
5d819b30f5 Split of CSimulatorPluginInfo and CSimulatorSetup
refs #404, and discussion https://dev.vatsim-germany.org/issues/404#note-8

* Changed CSimulatorSetup to use CNameVariantPairList as data. The old version was an hack and had to go, CNameVariantPairList would allow complex types in the future and can be already shown in the GUI.
* CNameVariantPairList was improved slightly in the same step
* Functions to get CSimulatorSetup from driver / context
* Removed CSimulatorSetup data from CSimulatorPluginInfo
2015-04-11 02:09:31 +02:00
Mathew Sutcliffe
9977d97a67 refs #356 Renamed CValueObjectStdTuple to CValueObject. 2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
2a3e0acf23 refs #356 Update base class name in derived class method implementations. 2015-03-27 19:08:52 +00:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
155b957cee refs #247 CVariant can inherit from CValueObjectStdTuple.
But if valueobject.h includes variant.h then it would create a circular dependency.
2014-12-13 01:41:49 +00: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
4c8148acf1 refs #345 First wave of value classes using the CValueObjectStdTuple CRTP class template. 2014-11-10 20:44:25 +00: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
a6ebfc0e0b Bug fixes and improvements for PropertyIndex discovered during refs #319, mainly contributing to refs #314
* Start index 10 instead 0 for CValueObject (easier to detect bugs)
* Fixed wrong indexes
* Asserts in CPropertyIndex
* Used Icon instead of QPixpmap with indexes, icons are sortable and have a tooltip
* Removed redundant toQVariant methods
2014-09-04 01:38:10 +02:00
Klaus Basan
40b428a315 refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
e109d73ba2 refs #314, new propertyBy methods (nested indexes) 2014-08-24 02:46:59 +02:00
Klaus Basan
600ea2b803 Fixed several issues detected during testing / review (refs #304)
* MS report 1-5 https://dev.vatsim-germany.org/issues/304#change-1800
* Clang warning https://dev.vatsim-germany.org/boards/22/topics/1982?r=1997#message-1997
* Wrong indexes for dockable widgets, RW: https://dev.vatsim-germany.org/issues/304#note-13
* Fixed wrong offset in Fsuipc class
* Improved position handling for floating widgets opened 1st time
2014-08-05 23:32:11 +02:00
Klaus Basan
42f89ebeca refs #304, Icons, using new CIcon class 2014-08-05 23:31:55 +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