Commit Graph

4126 Commits

Author SHA1 Message Date
Klaus Basan
f71cb04cd2 Formatting (#879) 2017-02-24 15:21:23 +00:00
Klaus Basan
20921b79b8 refs #875, refs #879, move functions only needed in performance samples to CSamplesPerformance
Also made some sample functions private
2017-02-24 15:21:21 +00:00
Klaus Basan
dc1d5d8586 refs #875, refs #879, renamed CTestUtils to CDBusUtils
* class now only contains DBus related code
* other functions have been moved to CTesting
2017-02-24 15:21:20 +00:00
Klaus Basan
d1827bd162 refs #875, refs #879, moved data generating functions to CTesting
(will be further split up/refactored)
2017-02-24 15:21:19 +00:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
ed820da20d refs #875, refs #879, class for test data
(will be consolidated with existing utility classes)
2017-02-24 15:21:16 +00:00
Klaus Basan
ae5b0310b6 refs #875, moved already existing test utility classes to BlackMisc::Test 2017-02-24 15:21:15 +00:00
Klaus Basan
31b6ef83f0 refs #875, moved DBus test classes to blackmisc
https://dev.vatsim-germany.org/issues/875#note-8
2017-02-24 15:21:14 +00:00
Klaus Basan
09ea40a1f7 refs #875, skip context unit test (DBus related) with no session bus 2017-02-24 15:21:13 +00:00
Klaus Basan
87fc64f86d refs #875, PODType
Clang: const type without a user-provided default constructor
2017-02-24 15:21:11 +00:00
Klaus Basan
d864171358 refs #875, fix for containers being class members 2017-02-24 15:21:10 +00:00
Mathew Sutcliffe
13682e5760 refs #875 Fixed regression of refs #411 caused by refs #628. 2017-02-24 15:21:09 +00:00
Klaus Basan
3de16cbec1 refs #877, CSimulatedAircraft DBus signature size
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
113fe2ec5a refs #878, fixes CAirport for DBus 2017-02-24 15:21:07 +00:00
Klaus Basan
f2e49987e0 refs #875, adjusted servicetool (DBus samples)
* use functions from blackcore/test
* show signatures
2017-02-24 15:21:05 +00:00
Klaus Basan
9beb6c79e1 refs #875, renamed to getKnownLocalIpV4Addresses() 2017-02-24 15:21:04 +00:00
Klaus Basan
e28056ac2f refs #875, unit tests for DBus 2017-02-24 15:21:03 +00:00
Klaus Basan
7bfc9810cb refs #875, temp disabled network model for DBus (signature too big) 2017-02-24 15:21:02 +00:00
Klaus Basan
b77c04c99c refs #875, fixed PQ null for DBus 2017-02-24 15:21:01 +00:00
Klaus Basan
3c588e61fa refs #875, moved classes for DBus unit tests and samples to BlackCore::Test 2017-02-24 15:21:00 +00:00
Klaus Basan
5b08363179 refs #875, unit test for proxies
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
94e5bbcc93 refs #875, more tests / pings 2017-02-24 15:20:57 +00:00
Klaus Basan
2f4c86fac4 refs #875, DBus fixes
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
a34be02e07 refs #617, CActionItem supports icon
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
6a96d14baa Formatting, icon utility function, icon size 2017-02-24 15:20:52 +00:00
Klaus Basan
371ee82f1b Ensure tab index 0 is selected at startup 2017-02-24 15:20:51 +00:00
Klaus Basan
909ea08853 refs #617, fixed assert when there are no selected items 2017-02-24 15:20:50 +00:00
Klaus Basan
cf51a7efca refs #617, renamed ActionItem to CActionItem 2017-02-24 15:20:49 +00:00
Klaus Basan
372e2cf04b refs #617, ActionItem const correctness 2017-02-24 15:20:47 +00:00
Klaus Basan
d5a926bd4e Formatting 2017-02-24 15:20:46 +00:00
Klaus Basan
6ba1586a7d refs #617, QTreeView style (sheet) adjustments 2017-02-24 15:20:45 +00:00
Klaus Basan
74d608b5df refs #617, allow to use CGuiActionBindHandler with buttons
* used for weather enable/disable
* use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
2017-02-24 15:20:44 +00:00
Klaus Basan
1889270011 refs #617, init hotkey lists with pilot client menus 2017-02-24 15:20:42 +00:00
Klaus Basan
5be38086b8 refs #617, CGuiActionBindHandler to use QAction with hotkeys
* QMenu can be automatically turned into a list of CActionBind objects for hotkeys
* trigger QAction from hotkeys
2017-02-24 15:20:41 +00:00
Klaus Basan
8c81f2bea3 refs #617, CActionBind extended
* delete callback when dtor is called (can use related receivers)
* added cpp file
* CActionBindings for multiple bindings (shared pointers)
* normalize action string
2017-02-24 15:20:40 +00:00
Klaus Basan
eeaed099f0 Formatting, typos 2017-02-24 15:20:39 +00:00
Klaus Basan
f87a06f6d2 refs #617, naming conventions for UI 2017-02-24 15:20:38 +00:00
Klaus Basan
2b61213746 Reduced width of log component to avoid overflow 2017-02-24 15:20:36 +00:00
Klaus Basan
7e70662a29 refs #873, changed signal for selector in internal component 2017-02-24 15:20:35 +00:00
Klaus Basan
2a0d0e1d84 refs #873, sendToggledLightsToSimulator as own function
* better resending of lights when light state in simulator is not yet known
* support for cabin/recognition light
2017-02-24 15:20:34 +00:00
Klaus Basan
bcb42b0f0d Formatting 2017-02-24 15:20:33 +00:00
Klaus Basan
b6ac5cbb45 refs #873, added cabin and recognition light plus anyEngineOn 2017-02-24 15:20:32 +00:00
Klaus Basan
e3ab9d08c3 Do not show tiny airfields of FSX 2017-02-24 15:20:31 +00:00
Klaus Basan
01b79a76a6 refs #873, better guessing of parts (clients without aircraft config) 2017-02-24 15:20:29 +00:00
Klaus Basan
f0cbe3b332 refs #873, nullable interface for value objects 2017-02-24 15:20:28 +00:00
Klaus Basan
273427d3d9 refs #873, updated internals component
* can trigger request of parts
* opening logs
* update parts in UI from aircraft
2017-02-24 15:20:27 +00:00
Klaus Basan
d4b2238dc6 Formatting 2017-02-24 00:20:11 +00:00
Klaus Basan
7eacb41113 refs #873, allow to request aircraft parts (aircraft config) from network 2017-02-24 00:20:09 +00:00
Klaus Basan
3afead9f71 refs #873, UI improvements
* allow to set inner message frame factor (width/height)
* fixed aircrft selector to keep selection
2017-02-24 00:20:07 +00:00