Commit Graph

47 Commits

Author SHA1 Message Date
Klaus Basan
5e0e9faf71 Improved handling of runtime based GUI components, allows to init all child components in one step
refs #195, follow up of fixing FSX configuration page as result of #217
2014-04-29 01:54:06 +02:00
Klaus Basan
72843fac90 As a follow up of refs #217, moved FSX settings into GUI component 2014-04-29 01:54:05 +02:00
Klaus Basan
36dbcc6b57 refs #217, Project class providing information for compile configuration
* changed .pro / .pri as required
* Used info from project class in network_vatlib
* Checks / info in GUI/core (e.g. console)
* const * versions of systemNameAndVersion / simulators, as mentioned in https://dev.vatsim-germany.org/issues/217#note-4
2014-04-29 01:53:09 +02:00
Klaus Basan
f967ed40ba refs #212, flightplan GUI
* similar to http://www.vatsim.net/fp/
* own form, own widget class as a trial to further modularize GUI components
* removed all view models (now encapsulated)
* tweaked style sheet
2014-04-28 20:35:59 +02:00
Klaus Basan
05a7cbcb26 refs #195, updated GUI with new specialized views
As a result, all models for TableViews are gone, as well as the context menu for status messages
2014-04-28 20:35:31 +02:00
Roland Winklmeier
b6ff89e69f Fix regression when core is running via DBus. Simulator page
is not updated because no simulatorConnectionChanged is emitted from
the past.
2014-04-18 18:39:52 +02:00
Klaus Basan
8ba2badb61 refs #209, update GUI to save/delete/check simconnect.cfg file (FSX) 2014-04-17 00:12:01 +02:00
Klaus Basan
c288a4b05b refs #209
* open directory of simconnect.cfg file
* open directory of settings file menu item
* reset settings menu item
2014-04-17 00:11:53 +02:00
Klaus Basan
2b07012e4f refs #199, fixed issues 7-14 of https://dev.vatsim-germany.org/issues/199
On top fixed bug for core mode in main.cpp
2014-04-17 00:10:03 +02:00
Klaus Basan
b2acd3e476 refs #205, added selection for DBus server to intro window
* changed init of main window to CRuntimeConfig, btw. makes 8 in https://dev.vatsim-germany.org/issues/199 redundant
* coreMode in main window gone
* mode for external / local audio
2014-04-17 00:10:00 +02:00
Klaus Basan
4776b1e650 refs #199, removed reEmitSignal for time being.
* Discussion: https://dev.vatsim-germany.org/issues/199#note-11
* Turned widgetGuiStarted / Terminated in more generic method
2014-04-17 00:09:51 +02:00
Klaus Basan
35b489d89a refs #199, console redirection enabled for GUI
# hooked up with siganls
# changed widget to courier font
2014-04-17 00:09:48 +02:00
Klaus Basan
855fa079c3 refs #199, simpflified runtime init 2014-04-17 00:09:03 +02:00
Klaus Basan
c43c3eed3c refs #199, adjusted GUI to new runtime. The central change is in mainwindow_init, where no longer own context pointers will be used, but an own runtime object. 2014-04-17 00:05:59 +02:00
Mathew Sutcliffe
903ddf7841 fixed compiler warnings detected by jenkins build server 2014-04-07 15:47:12 +01:00
Klaus Basan
5bdb8659ca refs #196, encapsulated transponder mode selection (combo box)
* promoted QComboBox in GUI
* features automatic reset for ident
* Conversion to CTransponder::TransponderMode from string
2014-03-27 01:13:19 +01:00
Klaus Basan
d27aa92866 refs #185 , added config panel for FSX to GUI. Allows to write a simconnect.cfg, if FSX is running remotely. 2014-03-26 19:50:58 +01:00
Roland Winklmeier
b0d55687bd Refactored inheritance hierarchy of ContextSettings
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
ac8ade5e05 Refactored inheritance hierarchy of ContextNetwork
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
33aee8cb12 Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
refs #85
2014-03-11 21:36:57 +01:00
Roland Winklmeier
1e8a2a5b01 Refactored inheritance hierarchy of ContextApplication
refs #85
2014-03-11 21:26:19 +01:00
Roland Winklmeier
eccfae1fd3 Add new page in sample_blackgui to display user aircraft data
refs #143
2014-03-11 21:26:18 +01:00
Klaus Basan
a5183c2fc4 Resolved issue in GUI init overlooked during merge 2014-02-26 14:35:57 +01:00
Klaus Basan
0fb3836713 refs #146 , minor GUI tweaks as result of testing the features 2014-02-26 04:03:32 +01:00
Klaus Basan
af3a239e40 refs #139 added tab in GUI for changing hotkeys
In order to better identify the models, the model members have been prefixed with "model"
2014-02-26 03:38:31 +01:00
Klaus Basan
18b31b49ac refs #129 , updated GUI to play notification sounds:
* prepared for login/off sounds
* prepared for text message sounds
* helper method to play sounds
* enabled mute / mixer also in cockpit, including context menus
* settings for notification sounds
* some minor tweaks, e.g. changed signal/slot to C++ style where missing
2014-02-12 20:14:31 +01:00
Klaus Basan
e88ee7c808 refs #93, re-read ATIS by pressing button from GUI 2014-02-08 14:11:34 +01:00
Klaus Basan
f56b3b878f Fix overriding cockpit values if a field is input focused.
Cockpit updates are a 2 way process, from context to GUI and vice versa.
This fix checks if a widget is focused, and if so, updating is ignored.
2014-02-08 01:11:03 +01:00
Klaus Basan
6bf930650a fixes #123 by displaying the Audio test in the GUI
* added methods to get results in context
* added signal to indicate audio test completed
* updated GUI to display results
* changed test run methods to non-const to be consistent with voice lib
* Logic in GUI to avoid parallel / interfering tests
* Fixed wrong Q_ASSERT message and QTimer::singleShot in voice_vatlib.cpp
2014-02-06 16:07:16 +01:00
Klaus Basan
ce22fc9552 Trigger Squelch and Mic test from GUI, refs #123 2014-02-05 23:16:34 +00:00
Klaus Basan
431b347cfd Improved status bar, connection handling, displaying ATC station as tooltip
when it matches a frequency
2014-02-05 23:16:26 +00:00
Klaus Basan
e88bfde3db Status messages as table view in the GUI, not only text.
Some minor GUI tweaks.
2014-02-05 23:15:48 +00:00
Klaus Basan
813c64087f Updated GUI for SELCAL messages and tones.
Some minor changes in the same step:
* Fixed some style sheets
* Added QToolBox as preparation for a status message list
* Renamed voice settings to audio settings
2014-02-05 23:15:38 +00:00
Klaus Basan
e877c5c368 SELCAL test (playing the SELCAL tone) and selection (from 2 code pairs). 2014-02-05 23:15:19 +00:00
Klaus Basan
6b72d61cef Some finetuning in GUI:
* stretched last header column
* height of some grid rows in cockpit
2014-01-27 16:12:18 +01:00
Klaus Basan
38d07286e1 Removed m_voiceRoomCom1/2 members and directly updating voice context
with voice rooms
2014-01-25 02:14:29 +01:00
Klaus Basan
fb3d7e4d28 Added updating of user views:
* timers
* loading of objects
* refactoring of some methods
2014-01-22 17:44:16 +01:00
Klaus Basan
4ceb7367f9 GUI, added table view for user lists:
* All users
* Voice room COM1/2 users

Remark: Not yet updated, just preparation of views
2014-01-22 03:08:28 +01:00
Klaus Basan
b2afdd9860 Minor GUI tweak 2014-01-18 13:29:33 +01:00
Klaus Basan
72b7a7ab95 Added statusMessages (plural) as signal. This makes it easier
to send either single or multiple messages as required.

Along with the changes fixed some places where not all status
messages had been sent.

MainWindow connected with both signals (statusMessage, statusMessages)

Recreated DBus XML file
2014-01-17 18:42:34 +01:00
Klaus Basan
9470dc27ca #98
Changed back signal/slot connection to old style
The described problem is one of the disadvantages of the new style,
when it comes to default values or different signatures

Also using a minimum value and adjusting the slider to any set value.
2014-01-16 01:04:22 +01:00
Klaus Basan
9f103a35cc Changed Window pointer ui tp QScopedPointer #95
Removed some default constructors from Member initializer list
Made member m_coreRuntime QScopedPointer
2014-01-15 19:33:28 +01:00
Klaus Basan
f1482558fb New signal / slot syntax
#88

Not all calls can be replaced by new sytnax
(e.g. cannot handle default value arguments)
2014-01-15 17:27:17 +01:00
Klaus Basan
b9ad793dd5 New GUI based on Qt style sheets. This is the main window. 2014-01-13 01:09:56 +01:00
Klaus Basan
d15d0db431 post-voice changes in blackgui from the kbatclist branch
refs #81
2014-01-09 01:16:01 +00:00
Klaus Basan
bb61654a29 style and consistency:
* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
2014-01-09 01:15:56 +00:00
Klaus Basan
ab17dabd5b samples and tests for all kbatclist branch changes
refs #81
2014-01-08 01:00:28 +00:00