Commit Graph

93 Commits

Author SHA1 Message Date
Mat Sutcliffe
63f5d28622 Issue #77 Break cyclic dependency between CVariant and all other value classes 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
1991b4847a Issue #77 Break cyclic dependency between CPropertyIndex and all other value classes 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
363758e8ea Issue #77 Move GlobalIndex enum from CPropertyIndex to CPropertyIndexRef 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
2dc86652c2 Issue #77 Include style 2020-08-28 00:45:26 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
e8a0a0b6ba Issue #15 Register CSequence as a sequential container metatype 2020-07-31 00:57:46 +01:00
Klaus Basan
81fa0b56c1 [AFV] Based on RRs idea init Qt audio device lists. The idea is to init them upfront in the main thread
Ref: https://discordapp.com/channels/539048679160676382/539925070550794240/676414836351172614
2020-06-12 18:42:34 +01:00
Klaus Basan
d8ec308a3b [DBus] DBus related fixes
* use INT in CAudioDeviceInfo (minimum trouble)
* register metatype
* removed getSimulatorStatusEnum from DBus slots
2020-01-07 19:46:17 +00:00
Klaus Basan
32c6ef3fd6 [AFV, Ref T739 register device also based on process 2020-01-07 19:46:15 +00:00
Klaus Basan
134c805990 [AFV] Ref T739, device info improvements
* registration
* use identifier in device info list
* propertyByIndex/compareByIndex
* unRegisterDevices
2020-01-07 19:46:15 +00:00
Klaus Basan
aed1103ce6 [AFV] Ref T739, default device handling
* renamed some device list functions
* improved default device handling
2020-01-07 19:05:42 +00:00
Klaus Basan
0bdc124c8f [AFV] Ref T730 check function for same devices 2019-10-18 10:36:25 +02:00
Klaus Basan
59baf237cc [AFV] Ref T730, added notification files for "station tuned in"
Those will be a replacement for the "joined voice room"
2019-10-18 10:36:25 +02:00
Klaus Basan
7fdc2c3db3 [AFV] Ref T730, changed/added settings for AFV and allow still to use old swift notifications 2019-10-18 10:36:25 +02:00
Klaus Basan
9959b12b9d [AFV] Ref T739, encapsulate defaultXXDevice calls
* based on bug: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-55631
* approach: avoid calls to default device (did not work out)
* kept encapsulation as it easier allows to text/apply workarounds
2019-10-18 10:36:25 +02:00
Klaus Basan
8fb74f945b [AFV] Ref T730, move voice settings into voice setup .h file
* same like we do for audio
* there was only one file in the settings subdir
2019-10-18 10:36:23 +02:00
Klaus Basan
58e2f35653 [AFV] Ref T730, use "%Application%" to split audio settings among core and UI
* both can have independent settings
* user report hanging core - this seems to fix it
2019-10-18 10:36:23 +02:00
Klaus Basan
541ce76fb6 [AFV] Ref T730, check for same device 2019-10-13 16:47:41 +02:00
Klaus Basan
e455d153ee [AFV] Ref T730, make sure device is "valid" 2019-10-13 16:47:40 +02:00
Klaus Basan
e109106102 Ref T739, functions to register devices (will be used by DBus/proxy) 2019-10-11 19:00:53 +01:00
Klaus Basan
47475f1a18 Ref T730, allow to specify a default value -> findByNameOrDefault 2019-10-11 19:00:50 +01:00
Klaus Basan
2123529fd8 Ref T730, Ref T731 update voice server setup to AfV URLs (formerly UDP ports) 2019-10-11 19:00:45 +01:00
Klaus Basan
c842820267 Ref T730, consider settings for clikc/block sounds and log categories 2019-10-11 19:00:45 +01:00
Klaus Basan
7e36e67f89 Ref T739, removed voice room value objects 2019-10-11 19:00:35 +01:00
Roland Rossgotterer
18ec101391 Don't push duplicated audio devices into the list 2019-10-11 19:00:32 +01:00
Roland Rossgotterer
a2e3700739 Replace QAudioDeviceInfo with CAudioDeviceInfo where possible
QAudioDeviceInfo is a low level technical class, which shouldn't be used in higher level code. Remove it from all APIs
where possible and just create it in order to interface with QAudio
2019-10-11 19:00:31 +01:00
Roland Rossgotterer
c759d45bb0 [AFV] Remove obsolete VVL device index from CAudioDeviceInfo 2019-10-11 19:00:31 +01:00
Klaus Basan
30158975b6 Ref T731, correctly set "disable VHF simulation" checkbox 2019-10-11 19:00:23 +01:00
Klaus Basan
09b38b4e6d Ref T730, function to check range for input/output volume 2019-10-11 19:00:22 +01:00
Klaus Basan
b207c9c944 Ref T730, adjusted audio settings for new notification sounds
* utility functions, find most appropriate file
* PTT blocked, removed voice rooms
2019-10-11 19:00:16 +01:00
Klaus Basan
5a19bbdb5e Ref T730, audio settings use 0..100 values, check the values 2019-10-11 19:00:02 +01:00
Klaus Basan
835fdc478a Ref T730, adjusted audio device info/info list,
so it can be used with QAudioDeviceInfo
2019-10-11 19:00:00 +01:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
6b19ed665e Ref T730, added settings in AFV client 2019-10-11 18:59:56 +01:00
Klaus Basan
e21fdeb039 Ref T730, pass PTT key events to client
* currently passing from context to client, so context and client know the state
* PTT enum in own file so it can be reused
2019-10-11 18:59:55 +01:00
Klaus Basan
4a578110b0 Ref T731, adjusted audio settings for AFV and added functions in UI component 2019-10-11 18:59:11 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Mat Sutcliffe
668a77d083 Ref T689 Settings validation can produce more descriptive error messages. 2019-09-16 22:40:05 +01:00
Roland Rossgotterer
2d8cc4a055 Define static constexpr int in source file
This fixes a linker error.
2019-09-16 22:40:00 +01:00
Klaus Basan
d509b1eb09 Ref T604, remember last audio volume
* adjust setting
* save setting
2019-09-16 20:29:46 +01:00
Klaus Basan
a764a2de7e Added value for notification volume in sound setting 2019-05-13 11:20:49 +02:00
Klaus Basan
e4b0655129 Ref T644, allow to fetch notifications sounds from an arbitrary directory
* added settings
* utility functions
2019-05-13 11:20:48 +02:00
Mat Sutcliffe
d29576b67a Ref T552 Register value classes with qRegisterMetaTypeStreamOperators. 2019-04-12 13:57:17 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Roland Rossgotterer
db861569ef Move grouped Notifications out of NotificationFlag enum
Those were convenience helpers that do not belong to the enum itself.
2019-04-11 22:11:50 +01:00