Commit Graph

1249 Commits

Author SHA1 Message Date
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
f72ff4e495 refs #318 Add method in Application Context to process a remote event 2014-08-27 23:07:50 +02:00
Roland Winklmeier
bdd7de1459 refs #318 Let CInputManager forward HotkeyFunc events 2014-08-27 23:07:47 +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
34326447f8 refs #317 IKeyboard implementation fixes
- private constructor
- deleted public copy constructor
- deleted public assignment operator
2014-08-27 19:23:42 +02:00
Roland Winklmeier
80f8e33ba0 refs #317 Add stub Linux and OSX IJoystick implementations 2014-08-27 19:23:39 +02:00
Roland Winklmeier
9283ecdd9d refs #317 Adding joystick support to input manager 2014-08-27 19:23:34 +02:00
Roland Winklmeier
78cab16a3d refs #317 IJoystick windows implementation 2014-08-27 19:23:32 +02:00
Roland Winklmeier
fa80d2d897 refs #317 IJoystick interface definition 2014-08-27 19:23:26 +02:00
Roland Winklmeier
da4da1c4b5 refs #317 CJoystickButton value object 2014-08-27 19:23:21 +02:00
Mathew Sutcliffe
bf84b01ff7 refs #294 fixed X-Plane paths on Mac 2014-08-27 00:02:37 +01:00
Mathew Sutcliffe
276484da8d refs #283 Fixed PQ unit assumption in FSX plugin 2014-08-27 00:02:36 +01:00
Mathew Sutcliffe
4aef58564e refs #283 Added ISimulator::getInstalledModels method, with stub implementations 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
09f0d008cb refs #283 Simulator context takes responsibility for connecting CAirspaceMonitor signals to ISimulator slots 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
f4b7a9c6a2 refs #283 Rationalized ISimulator slots for managing remote aircraft 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
a6fd2bdeb2 refs #283 CAirspaceMonitor: added signals to notify when an aircraft is added or removed 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
f1150361b7 refs #283 Fixed crash sending status message to simulator when no simulator loaded 2014-08-27 00:02:33 +01:00
Mathew Sutcliffe
d25eac66b1 refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.
The simulator can use this to display text messages in a different colour, for example.
2014-08-27 00:02:32 +01:00
Mathew Sutcliffe
4fc78adab9 refs #283 Simulator can display private messages too 2014-08-27 00:02:31 +01:00
Mathew Sutcliffe
61343e39f2 refs #283 ps_ prefix for private slots 2014-08-27 00:02:30 +01:00
Mathew Sutcliffe
595261f755 refs #283 Doxygen 2014-08-27 00:02:30 +01:00
Roland Winklmeier
adc25f5f3d refs #76 CForeignWindows
Provides static methods to get QWindow pointers to known simulators
2014-08-26 22:51:36 +02:00
Roland Winklmeier
53a42e3dd8 refs #76 cross platform class to find and return pointer to a foreign window 2014-08-26 22:51:33 +02: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
f3b68afab5 Fixed issue with missing Disconnecting state in vatlib 2014-08-24 02:47:13 +02:00
Klaus Basan
1b43538492 refs #314, samples for Variant tests, fixed some minor things in other samples 2014-08-24 02:47:12 +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
2089ab89a1 Fixed qLed state, wrong if temporary icon is used
* Using state instead of just bool
2014-08-24 02:47:09 +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
657e40693c refs #314, changed core to new propertyBy methods 2014-08-24 02:47:03 +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
Mathew Sutcliffe
f311582c28 refs #315 Style 2014-08-19 21:54:23 +01:00
Mathew Sutcliffe
96ca38a3db refs #315 Removed old/deprecated CRuntime::logSlot, changed contexts to use new CRuntime::logSlot.
Network context was already using new CRuntime::logSlot as of commit:81c68058.
2014-08-19 21:37:20 +01:00
Mathew Sutcliffe
45f23127bb refs #315 Fixed inverted logic in own aircraft context update slots 2014-08-19 21:37:19 +01:00
Roland Winklmeier
fed035291f refs #313 doxygen 2014-08-19 15:30:05 +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
Roland Winklmeier
4d60ca3a87 refs #313 KeyboardKey wrapper class for current settings implementation 2014-08-19 15:30:03 +02:00
Roland Winklmeier
1adfd16ec9 refs #313 Application context acts as com layer between settings and InputManager 2014-08-19 15:29:55 +02:00