Commit Graph

49 Commits

Author SHA1 Message Date
Klaus Basan
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
c99b340833 Updating main window because of recent changes (applying changes of other classes) 2014-06-09 14:44:32 +02:00
Klaus Basan
3ae93190ae Round trip protection as described in (4)
https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Individual context id
* Allows to connect >1 GUIs with core, works for cockpit so far
2014-06-09 14:44:26 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
c7108a51f8 refs #250, refs #242 changed GUi to reflect changes
* own cockpit component
* new aircraft context
2014-06-09 14:43:21 +02:00
Klaus Basan
48267f314c refs #242, changed different classes/components to use aircraft context instead of network context
* removed own aircraft from simulator context
* in GUI, also added originator for signals/ slots
* flightplan / text messages
2014-06-09 14:42:31 +02:00
Klaus Basan
4c952ab782 refs #240, moved notification sounds in project blackmisc
Notification sounds are used in BlackGui components. They require the whole Qt multimedia library. However, GUI only triggers playing the sound. As a workaround the notification sounds enumeration has been moved in an own class, and moved to the subproject BlackMisc. Hence it is possible to compile BlackGui without dependency to BlackSound.
2014-05-22 22:21:19 +02:00
Roland Winklmeier
5498b449ac Add "ConnectionFailed" to Simulator status enum
Rename connectionChanged to statusChanged

refs #231
2014-05-16 14:17:41 +02:00
Klaus Basan
a338ed0068 refs #239, removed aircraft / ATC station parts from main window, now in component.
mainwindow_atc entirely removed
2014-05-15 00:07:18 +02:00
Klaus Basan
4d7c198d26 refs #233, added hot key functionality in GUI. Now hot keys can be defined and show a reaction in the GUI 2014-05-07 23:27:25 +02:00
Klaus Basan
9d2b96c218 refs #227, changes for user component in GUI 2014-05-06 21:47:19 +02:00
Klaus Basan
d163297715 Improved verification for ICAO codes (own aircraft) before user login 2014-05-06 21:47:17 +02:00
Klaus Basan
a8783b0b5b Fixes in GUI: start/stop timers 2014-04-29 01:54:06 +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
Klaus Basan
a70bc1cb38 fixes as follow-up of meeting https://dev.vatsim-germany.org/boards/22/topics/1671
* asserts for relaySignals
* relay "message" in connection status changed
* bug in status message
* bug in saving settings

refs #198 refs #199 refs #207 refs #209
2014-04-17 00:11:59 +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
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
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
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +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
dde9710144 Refs #140 , refs #85 Rename namespace voice to audio.
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too.
As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
2014-03-10 14:43:06 +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
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
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
1199f05fe2 Added LoginMode for login from GUI
* updated context method
* updated GUI, checkboxes for mode
* style sheet modified due to GUI update
2014-01-26 02:34:56 +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
4f8b63cdf1 Always loading ATC/aircrafts in GUI, not only if the tab is visible 2014-01-20 13:17:15 +01:00
Klaus Basan
16dc959662 Fixed 4 gcc warnings (2x order, 1x explicit constructor, 1x GUI / from related) 2014-01-17 20:05:00 +01:00
Klaus Basan
5ffe3dc759 Improved order and handling in MainWindow gracefulShutdown 2014-01-16 02:41:08 +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
2cf097ae2e Receiving errors as status message results in
a pop up message now.
2014-01-15 23:52: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
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