From 64818b5d89cb0b481f5f19a708e4519ec345b561 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 21 Mar 2011 21:14:36 +0000 Subject: [PATCH] smaller Mute/Solo switches --- src/audiomixerboard.cpp | 11 ++++------- src/llconclientdlg.cpp | 22 +++++++++++++++------- src/res/ledbuttonnotpressed.png | Bin 2777 -> 1874 bytes src/res/ledbuttonpressed.png | Bin 3059 -> 2051 bytes 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/audiomixerboard.cpp b/src/audiomixerboard.cpp index 49ca1a2d..aaaf5e6e 100755 --- a/src/audiomixerboard.cpp +++ b/src/audiomixerboard.cpp @@ -38,9 +38,6 @@ CChannelFader::CChannelFader ( QWidget* pNW, pcbSolo = new QCheckBox ( "Solo", pNW ); pLabel = new QLabel ( "", pNW ); - // setup layout - pMainGrid->setSpacing ( 2 ); - // setup slider pFader->setPageStep ( 1 ); pFader->setTickPosition ( QSlider::TicksBothSides ); @@ -124,8 +121,8 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign ) // mute button pcbMute->setStyleSheet ( - "QCheckBox::indicator { width: 43px;" - " height: 24px; }" + "QCheckBox::indicator { width: 38px;" + " height: 21px; }" "QCheckBox::indicator:unchecked {" " image: url(:/png/fader/res/ledbuttonnotpressed.png); }" "QCheckBox::indicator:checked {" @@ -136,8 +133,8 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign ) // solo button pcbSolo->setStyleSheet ( - "QCheckBox::indicator { width: 43px;" - " height: 24px; }" + "QCheckBox::indicator { width: 38px;" + " height: 21px; }" "QCheckBox::indicator:unchecked {" " image: url(:/png/fader/res/ledbuttonnotpressed.png); }" "QCheckBox::indicator:checked {" diff --git a/src/llconclientdlg.cpp b/src/llconclientdlg.cpp index ccfb442a..05d438e7 100755 --- a/src/llconclientdlg.cpp +++ b/src/llconclientdlg.cpp @@ -96,13 +96,6 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, "Disconnect, i.e., it implements a toggle functionality for connecting " "and disconnecting the llcon software." ) ); - // status bar -// TextLabelStatus->setWhatsThis ( tr ( "Status Bar: 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 QString strServAddrH = tr ( "Server Address: The IP address or URL " "of the server running the llcon server software must be set here. " @@ -180,6 +173,10 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, RadioButtonRevSelR->setWhatsThis ( strRevChanSel ); RadioButtonRevSelR->setAccessibleName ( tr ( "Right channel selection for reverberation" ) ); + + +// TODO description of all LEDs + // buffers LED LEDBuffers->setWhatsThis ( tr ( "Buffers Status LED: " "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" ) ); + // status bar +// TextLabelStatus->setWhatsThis ( tr ( "Status Bar: 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 SetGUIDesign ( pClient->GetGUIDesign() ); diff --git a/src/res/ledbuttonnotpressed.png b/src/res/ledbuttonnotpressed.png index ae7762dddacbb9d04b0cf42b9552ebaa90c10f19..d7f2104003f7dafcef84d92d07c7c4bea4a39c97 100755 GIT binary patch delta 1798 zcmV+h2l@Ef719nNiBL{Q4GJ0x0000DNk~Le0000c0000L2nGNE04md*t&t%=2o)4F zBiU($-;ro1e+I2dL_t(YOLdjYk7ZRA#(!(=eNNq5RsASh8U=z9P*4Xz2%Sl^*PwL z8;Zo0oaCN!_c`mgzxA!PjSs}5_uuEW^08X$9W}=Tf0p!Q5{qp98{kmJE#Y=Po86vL z`jzl!$D+3r>7F2JSeyd}Ni$D&=-3*e3d}IAVyp{NsqwblHYAN@7~ggGn67q1O6l;q zU;H8R`=K6x_+BeRxp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