Commit Graph

491 Commits

Author SHA1 Message Date
Mathew Sutcliffe
87086f7e37 refs #316 Removed no longer used static status message methods in CSettingUtilities. 2014-10-04 22:16:45 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Mathew Sutcliffe
ed723c5e97 refs #316 Added CLogHandler which allows to subscribe to log messages. 2014-10-04 22:16:37 +01: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
d3e6a3f721 refs #327, fixed the includes as discussed with 327
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
c5eb1151d4 refs #327, CStatusMessage based on CRTP (proof of concept) 2014-09-11 18:34:52 +02:00
Klaus Basan
6aba823f4f refs #327, CRTP for CValueObject classes
* using toMetaTuple, no jsonMembers function
* no un/equal operator as discussed
2014-09-11 18:34:27 +02:00
Klaus Basan
02bfa01cc9 refs #322, fix for non-firing timer. Also adjusted input counts for online data 2014-09-11 12:08:10 +02:00
Klaus Basan
4500bda125 Added updates by VATSIM data file for voice capabilities 2014-09-09 20:07:29 +02:00
Klaus Basan
2127238ed4 Doxygen, renaming, formatting
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00
Klaus Basan
e4545f23d2 refs #322, included context menu and methods for injecting test data (ATC stations) in GUI 2014-09-09 20:07:23 +02:00
Klaus Basan
87e87013f9 refs #322, performance samples
* menu for samples, no need to comment things out
2014-09-09 20:07:22 +02:00
Klaus Basan
00f3a78a66 refs #322, class generating testdata 2014-09-09 20:07:20 +02:00
Klaus Basan
62010a09c8 refs #319, Doxygen, headers, formatting 2014-09-09 20:07:17 +02:00
Klaus Basan
fc84673bb9 Handled performance issues and bugs noticed during testing of refs #319 / refs #322
* discussion: https://dev.vatsim-germany.org/boards/22/topics/2027?r=2040#message-2040
* fixed bug with ATC station component, wrong signals for booked stations
* booked stations loading to frequently (for each minor change such as online), changed to timestamp based concept
* update booked stations with receiving ATIS/voiceroom to online
* CDigestSignal class: new class and methods for collecting signals, avoiding too many signals - one of the cures for the performance issues
* fixed bug found during testing, missing start for timers when connecting to network
2014-09-09 20:07:16 +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
c54fa0fd43 refs #314, new icons for formatters
* Moved methods to cpp file (less recompilation)
* Background of icons can be changed
* refs #322, changed to index based approach for retrieving icons (faster)
* therfore: sorted icons per name, easier to keep in sync
2014-09-09 20:06:17 +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
674a0b5665 During refs #319, refactoring of QLed (as it is used with a LED formatter)
* renamed to CLedWidget
* added missing SVG
* rendering to pixmap possible
* QScopedPointer<QSvgRenderer>
* Led, copyright
2014-09-04 01:37:33 +02:00
Roland Winklmeier
f970e7cfaa refs #318 Value class CEventHotkeyFunction
Event which will be transferred to another process and trigger a
hotkey function remotely.
2014-08-27 23:07:42 +02:00
Roland Winklmeier
2304b8e4db refs #318 Event originator with machine information
Mats ammended version (non-static methods).
2014-08-27 23:03:25 +02:00
Roland Winklmeier
da4da1c4b5 refs #317 CJoystickButton value object 2014-08-27 19:23:21 +02:00
Mathew Sutcliffe
4aef58564e refs #283 Added ISimulator::getInstalledModels method, with stub implementations 2014-08-27 00:02:35 +01:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +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
a97830b7cf refs #314, fixed DBus crash because of wrong list type
discussion here: https://dev.vatsim-germany.org/boards/22/topics/2006?r=2015#message-2015
* Fixed CIndexVariantMap
* In the same step added more tests in the DBus sample
2014-08-24 02:47:10 +02:00
Klaus Basan
5df96c576b refs #314, gcc warning fixes, as a result removed m_digits (not used anymore) 2014-08-24 02:47:08 +02:00
Klaus Basan
407a1409da refs #314, remove copy assignment operator 2014-08-24 02:47:07 +02:00
Klaus Basan
290abe3693 refs #314, fromQVariant / location of toQVariant
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +02:00
Klaus Basan
c21a0bb0e4 refs #314, compareQVariants checks for int to avoid rounding issues 2014-08-24 02:47:04 +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
f4a94aa8ff refs #314, new propertyBy methods (nested indexes) for PQs 2014-08-24 02:47:00 +02:00
Klaus Basan
e109d73ba2 refs #314, new propertyBy methods (nested indexes) 2014-08-24 02:46:59 +02:00
Klaus Basan
d797d76a60 refs #314, CPropertyIndex class for nested indexes 2014-08-24 02:46:57 +02:00
Klaus Basan
8fd9116f28 refs #314, calculcate hash for QList<int> 2014-08-24 02:46:56 +02:00
Klaus Basan
00a89fbbd7 refs #314, modulator based classes to latest style
* removed exceptions
* removed tryGet methods
* adjusted samples
2014-08-24 02:46:55 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Roland Winklmeier
fed035291f refs #313 doxygen 2014-08-19 15:30:05 +02:00
Roland Winklmeier
4d60ca3a87 refs #313 KeyboardKey wrapper class for current settings implementation 2014-08-19 15:30:03 +02:00
Roland Winklmeier
e06cb7d683 refs #313 Replaced old tuple system with meta tuples 2014-08-19 14:41:34 +02:00
Roland Winklmeier
50b5e80057 refs #313 Remove any occurence of function or virtual keycode from CKeyboardKey(list)
Justification for native virtual key is, because its not cross platform.
2014-08-19 14:41:34 +02:00
Roland Winklmeier
c6540e8521 refs #313 value class for hotkey functions 2014-08-19 14:07:38 +02:00
Mathew Sutcliffe
d6234ee2cd refs #311 added initializer_list constructors in containers 2014-08-06 17:29:20 +01:00
Mathew Sutcliffe
58318677b5 refs #311 CDictionary: added move constructor and fixed move assignment 2014-08-06 17:29:19 +01: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
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