mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Issue #100 Add hotkeys to change COM volume
This commit is contained in:
@@ -57,6 +57,31 @@ namespace BlackMisc
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &audioVolumeDecreaseCom1HotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume (COM1) decrease");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &audioVolumeIncreaseCom1HotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume (COM1) increase");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &audioVolumeDecreaseCom2HotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume (COM2) decrease");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &audioVolumeIncreaseCom2HotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume (COM2) increase");
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
CIcons::IconIndex toggleXPDRStateHotkeyIcon()
|
||||
{
|
||||
return CIcons::StandardIconRadio16;
|
||||
|
||||
@@ -38,6 +38,18 @@ namespace BlackMisc
|
||||
//! Audio volume - key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeDecreaseHotkeyAction();
|
||||
|
||||
//! Audio volume + key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeIncreaseCom1HotkeyAction();
|
||||
|
||||
//! Audio volume - key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeDecreaseCom1HotkeyAction();
|
||||
|
||||
//! Audio volume + key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeIncreaseCom2HotkeyAction();
|
||||
|
||||
//! Audio volume - key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeDecreaseCom2HotkeyAction();
|
||||
|
||||
//! Audio icon volume +
|
||||
BLACKMISC_EXPORT BlackMisc::CIcons::IconIndex audioVolumeIncreaseHotkeyIcon();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user