Commit Graph

135 Commits

Author SHA1 Message Date
Mat Sutcliffe
fbbfd5ebe2 Issue #115 Opening login view doesn't trigger disconnect countdown 2021-09-01 20:38:27 +01:00
Mat Sutcliffe
68933408db Issue #37 GUI message when FPS drops below threshold 2021-08-29 17:02:26 +01:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Klaus Basan
5987e58043 [UI] Login, use remembered ICAO codes if there is no DB model
Remark: We need to see how this works, in some cases in
the past (previous version) his has caused odd behaviour
2020-06-12 18:42:53 +01:00
Klaus Basan
70c88f0982 [UI] Make completer length font size relative 2020-06-12 18:42:48 +01:00
Klaus Basan
5b3c011a15 Added "url" to signature "dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url)"
Allows to write log. messages with URL
2020-06-12 18:42:38 +01:00
Klaus Basan
52de67a72f Guard for "CLoginComponent::onWebServiceDataRead" 2020-06-12 18:42:30 +01:00
Klaus Basan
36d77b7785 Ref T761, avoid to override aircraft callsign from the (standard) login component
* set input field to callsign if network is connected
* this sets the callsign of the adv. login component in case it was used
2020-01-07 19:57:20 +00:00
Klaus Basan
45c44eb0bf Typo 2020-01-07 19:57:18 +00:00
Klaus Basan
209c00b430 Style 2020-01-07 19:46:14 +00:00
Klaus Basan
602e8ab913 UI, if there is no valid model string, do not override the previously entered values 2020-01-07 19:46:14 +00:00
Klaus Basan
8d956436e7 [AFV] Ref T739, use the Audio base class with the shared CAfvClient functions 2019-10-18 10:36:24 +02:00
Klaus Basan
6071e77b7f Ref T730, removed voice room related funcions from audio context 2019-10-11 18:59:59 +01:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
dd70a67cf0 Ref T703, get partner callsign and validate it
* added functions in network details
* validation and login with partner callsign
2019-09-16 22:41:21 +01:00
Klaus Basan
d546ebdcba Ref T659, improved handling of override checkbox in FSD details/voice
* the checkbox can be always enabled
* or disabled in read only mode
2019-09-16 22:41:10 +01:00
Klaus Basan
34cdffc9fa Ref T659, ajusted login component/dialog for poup login 2019-09-16 22:40:42 +01:00
Klaus Basan
7e4e4f0d37 Ref T659, adjustments of login component, so login in dialog is reflected 2019-09-16 22:40:37 +01:00
Klaus Basan
a4b5dfed9b Minor style change login UI 2019-09-16 22:40:36 +01:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
9b1c1ccf3d Logoff if simulator is disconnected (auto logoff trigger) 2019-05-13 11:20:55 +02:00
Klaus Basan
02896d06d2 Prepared for only A-Z/0-9 callsign entry 2019-05-13 11:20:52 +02:00
Klaus Basan
8eff8cd3ba Enable AUTO LOGOFF per default 2019-05-13 11:20:48 +02:00
Klaus Basan
9a0f2263cc Ref T639, unify the connect buttons
* toggle connection from button bar directly -> public
* use Qt::QueuedConnection
* allow to reset values
2019-05-13 11:20:47 +02:00
Klaus Basan
8223ddb710 Checks to avoid crash during shutdown 2019-04-11 22:12:03 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
bae7680e59 Ref T401, server info also when not connected 2019-02-22 20:36:31 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
970a7a0af8 Use style sheet for login model string field, remove hardcoded values 2019-02-22 20:35:45 +00:00
Klaus Basan
13c67e4838 Login UI/lookup improvements
* made tool -> push buttons as easier to spot
* reverse lookup of model before login -> always latest DB data
* use "text only" ICAO code if loading from DB yields no result
2019-02-22 20:35:33 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
a09d7191f3 Ref T456, user statistics monitored at backend
* values for simulator/network
* changed concept a bit so crash handler values are used for statistics as well
2018-12-16 00:22:33 +01:00
Klaus Basan
c591728e88 Aircraft ICAO code of own model is wrong
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong

Issues found

* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Klaus Basan
556c17795d Fill in combined type if not filled in (empty) and ICAO is from DB 2018-12-10 03:41:16 +01:00
Klaus Basan
32b2059d1a Allow to refresh "other server" combobox 2018-12-10 03:41:15 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
1f60390cea On login page, on clear aircraft/airline fields with simulator attached 2018-12-05 04:03:43 +01:00
Klaus Basan
394147dcb9 Server handling
* added tower view as hardcoded
* renamed to predefined servers
* utility functions to add/remove FSD setup flags
2018-11-29 20:54:25 +01:00
Klaus Basan
4792dbf8d1 Ref T420, setting to save "auto logoff"
* added flag in settings
* use in login component
2018-11-29 20:54:25 +01:00
Klaus Basan
0e5dc4e12a On login page, clear aircraft/airline fields if model is not from DB
* discussion https://swift-project.slack.com/archives/CCV74GESV/p1543344801126700
* emulated driver settings allow non DB model for testing
* use "showOverlayHTMLMessage"
2018-11-29 20:54:25 +01:00
Klaus Basan
beec69281a Login component set FSD/voice details based on current server selection 2018-11-16 02:49:56 +01:00
Klaus Basan
8003a50ae5 Ref T420, trigger logoff countdown when simulator is no longer vital 2018-11-16 02:49:56 +01:00
Klaus Basan
79547efe0a Login UI improvements 2018-11-16 02:49:54 +01:00
Klaus Basan
66a1b32f0f Ref T401, login updates crashpad info 2018-11-04 17:43:06 +01:00
Klaus Basan
6755fd68dc Ref T420, logoff countdown time configurable 2018-11-04 17:42:48 +01:00
Klaus Basan
b1942282f5 Reorder login page
* 2 sections: login/logoff status
* select server, then details (not in same tab widget which is misleading)
* call readonly on subforms
2018-11-04 17:42:44 +01:00