smaller Mute/Solo switches

This commit is contained in:
Volker Fischer 2011-03-21 21:14:36 +00:00
parent 39264ee3d0
commit 64818b5d89
4 changed files with 19 additions and 14 deletions

View file

@ -38,9 +38,6 @@ CChannelFader::CChannelFader ( QWidget* pNW,
pcbSolo = new QCheckBox ( "Solo", pNW ); pcbSolo = new QCheckBox ( "Solo", pNW );
pLabel = new QLabel ( "", pNW ); pLabel = new QLabel ( "", pNW );
// setup layout
pMainGrid->setSpacing ( 2 );
// setup slider // setup slider
pFader->setPageStep ( 1 ); pFader->setPageStep ( 1 );
pFader->setTickPosition ( QSlider::TicksBothSides ); pFader->setTickPosition ( QSlider::TicksBothSides );
@ -124,8 +121,8 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
// mute button // mute button
pcbMute->setStyleSheet ( pcbMute->setStyleSheet (
"QCheckBox::indicator { width: 43px;" "QCheckBox::indicator { width: 38px;"
" height: 24px; }" " height: 21px; }"
"QCheckBox::indicator:unchecked {" "QCheckBox::indicator:unchecked {"
" image: url(:/png/fader/res/ledbuttonnotpressed.png); }" " image: url(:/png/fader/res/ledbuttonnotpressed.png); }"
"QCheckBox::indicator:checked {" "QCheckBox::indicator:checked {"
@ -136,8 +133,8 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
// solo button // solo button
pcbSolo->setStyleSheet ( pcbSolo->setStyleSheet (
"QCheckBox::indicator { width: 43px;" "QCheckBox::indicator { width: 38px;"
" height: 24px; }" " height: 21px; }"
"QCheckBox::indicator:unchecked {" "QCheckBox::indicator:unchecked {"
" image: url(:/png/fader/res/ledbuttonnotpressed.png); }" " image: url(:/png/fader/res/ledbuttonnotpressed.png); }"
"QCheckBox::indicator:checked {" "QCheckBox::indicator:checked {"

View file

@ -96,13 +96,6 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
"Disconnect, i.e., it implements a toggle functionality for connecting " "Disconnect, i.e., it implements a toggle functionality for connecting "
"and disconnecting the llcon software." ) ); "and disconnecting the llcon software." ) );
// status bar
// TextLabelStatus->setWhatsThis ( tr ( "<b>Status Bar:</b> In the status bar "
// "different messages are displayed. E.g., if an error occurred or the "
// "status of the connection is shown." ) );
// TextLabelStatus->setAccessibleName ( tr ( "Status bar" ) );
// server address // server address
QString strServAddrH = tr ( "<b>Server Address:</b> The IP address or URL " QString strServAddrH = tr ( "<b>Server Address:</b> The IP address or URL "
"of the server running the llcon server software must be set here. " "of the server running the llcon server software must be set here. "
@ -180,6 +173,10 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
RadioButtonRevSelR->setWhatsThis ( strRevChanSel ); RadioButtonRevSelR->setWhatsThis ( strRevChanSel );
RadioButtonRevSelR->setAccessibleName ( tr ( "Right channel selection for reverberation" ) ); RadioButtonRevSelR->setAccessibleName ( tr ( "Right channel selection for reverberation" ) );
// TODO description of all LEDs
// buffers LED // buffers LED
LEDBuffers->setWhatsThis ( tr ( "<b>Buffers Status LED:</b> " LEDBuffers->setWhatsThis ( tr ( "<b>Buffers Status LED:</b> "
"The buffers status LED indicator shows the current audio/streaming " "The buffers status LED indicator shows the current audio/streaming "
@ -199,6 +196,17 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
LEDBuffers->setAccessibleName ( tr ( "Buffers status LED indicator" ) ); LEDBuffers->setAccessibleName ( tr ( "Buffers status LED indicator" ) );
// status bar
// TextLabelStatus->setWhatsThis ( tr ( "<b>Status Bar:</b> In the status bar "
// "different messages are displayed. E.g., if an error occurred or the "
// "status of the connection is shown." ) );
// TextLabelStatus->setAccessibleName ( tr ( "Status bar" ) );
// init GUI design // init GUI design
SetGUIDesign ( pClient->GetGUIDesign() ); SetGUIDesign ( pClient->GetGUIDesign() );

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 2 KiB