mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Preparation for 2 COM keys and increase/decrease volume hotkeys
Ref T672, Ref T642
This commit is contained in:
committed by
Mat Sutcliffe
parent
d509b1eb09
commit
50412aa0d1
@@ -22,5 +22,39 @@ namespace BlackMisc
|
||||
{
|
||||
return CIcons::radio16();
|
||||
}
|
||||
|
||||
const QString &pttCom1HotkeyAction()
|
||||
{
|
||||
static const QString s("/Voice/Activate push-to-talk COM1");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &pttCom2HotkeyAction()
|
||||
{
|
||||
static const QString s("/Voice/Activate push-to-talk COM2");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QPixmap &audioVolumeDecreaseHotkeyIcon()
|
||||
{
|
||||
return CIcons::volumeLow16();
|
||||
}
|
||||
|
||||
const QPixmap &audioVolumeIncreaseHotkeyIcon()
|
||||
{
|
||||
return CIcons::volumeHigh16();
|
||||
}
|
||||
|
||||
const QString &audioVolumeDecreaseHotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume decrease");
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &audioVolumeIncreaseHotkeyAction()
|
||||
{
|
||||
static const QString s("/Audio/Volume increase");
|
||||
return s;
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -23,8 +23,27 @@ namespace BlackMisc
|
||||
//! PTT key
|
||||
BLACKMISC_EXPORT const QString &pttHotkeyAction();
|
||||
|
||||
//! PTT key COM1 only
|
||||
BLACKMISC_EXPORT const QString &pttCom1HotkeyAction();
|
||||
|
||||
//! PTT key COM2 only
|
||||
BLACKMISC_EXPORT const QString &pttCom2HotkeyAction();
|
||||
|
||||
//! PTT key
|
||||
BLACKMISC_EXPORT const QPixmap &pttHotkeyIcon();
|
||||
|
||||
//! Audio volume + key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeIncreaseHotkeyAction();
|
||||
|
||||
//! Audio volume - key
|
||||
BLACKMISC_EXPORT const QString &audioVolumeDecreaseHotkeyAction();
|
||||
|
||||
//! Audio icon volume +
|
||||
BLACKMISC_EXPORT const QPixmap &audioVolumeIncreaseHotkeyIcon();
|
||||
|
||||
//! Audio icon volume -
|
||||
BLACKMISC_EXPORT const QPixmap &audioVolumeDecreaseHotkeyIcon();
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user