diff options
Diffstat (limited to 'src/lmsensorscfgdesign.cpp')
-rw-r--r-- | src/lmsensorscfgdesign.cpp | 471 |
1 files changed, 0 insertions, 471 deletions
diff --git a/src/lmsensorscfgdesign.cpp b/src/lmsensorscfgdesign.cpp deleted file mode 100644 index 8c0eeeb..0000000 --- a/src/lmsensorscfgdesign.cpp +++ /dev/null @@ -1,471 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './lmsensorscfgdesign.ui' -** -** Created: mer aoû 18 23:39:03 2004 -** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "lmsensorscfgdesign.h" - -#include <ntqvariant.h> -#include <ntqpushbutton.h> -#include <ntqtabwidget.h> -#include <ntqgroupbox.h> -#include <ntqlabel.h> -#include <ntqlineedit.h> -#include <ntqcombobox.h> -#include <ntqcheckbox.h> -#include <kcolorbutton.h> -#include <ntqframe.h> -#include <ntqradiobutton.h> -#include <ntqlistbox.h> -#include <ntqbuttongroup.h> -#include <ntqspinbox.h> -#include <ntqslider.h> -#include <ntqlayout.h> -#include <ntqtooltip.h> -#include <ntqwhatsthis.h> - -/* - * Constructs a LMSensorsCfgDesign as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -LMSensorsCfgDesign::LMSensorsCfgDesign( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "LMSensorsCfgDesign" ); - setMinimumSize( TQSize( 0, 340 ) ); - LMSensorsCfgDesignLayout = new TQGridLayout( this, 1, 1, 8, 4, "LMSensorsCfgDesignLayout"); - - MainTab = new TQTabWidget( this, "MainTab" ); - MainTab->setMinimumSize( TQSize( 422, 295 ) ); - - tab = new TQWidget( MainTab, "tab" ); - tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); - - SensorsTab = new TQTabWidget( tab, "SensorsTab" ); - SensorsTab->setMinimumSize( TQSize( 272, 276 ) ); - SensorsTab->setTabShape( TQTabWidget::Rounded ); - SensorsTab->setMargin( 0 ); - - tab_2 = new TQWidget( SensorsTab, "tab_2" ); - tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); - - GroupBoxDes = new TQGroupBox( tab_2, "GroupBoxDes" ); - GroupBoxDes->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, GroupBoxDes->sizePolicy().hasHeightForWidth() ) ); - GroupBoxDes->setColumnLayout(0, TQt::Vertical ); - GroupBoxDes->layout()->setSpacing( 6 ); - GroupBoxDes->layout()->setMargin( 11 ); - GroupBoxDesLayout = new TQGridLayout( GroupBoxDes->layout() ); - GroupBoxDesLayout->setAlignment( TQt::AlignTop ); - - layout5 = new TQHBoxLayout( 0, 0, 6, "layout5"); - - pixmapSensor = new TQLabel( GroupBoxDes, "pixmapSensor" ); - pixmapSensor->setScaledContents( TRUE ); - layout5->addWidget( pixmapSensor ); - - layout4 = new TQVBoxLayout( 0, 0, 6, "layout4"); - - TextLabel2_2 = new TQLabel( GroupBoxDes, "TextLabel2_2" ); - layout4->addWidget( TextLabel2_2 ); - - editDescription = new TQLineEdit( GroupBoxDes, "editDescription" ); - layout4->addWidget( editDescription ); - layout5->addLayout( layout4 ); - - GroupBoxDesLayout->addLayout( layout5, 0, 0 ); - - tabLayout_2->addWidget( GroupBoxDes, 0, 0 ); - - GroupBox2_2_2 = new TQGroupBox( tab_2, "GroupBox2_2_2" ); - GroupBox2_2_2->setFrameShape( TQGroupBox::Box ); - GroupBox2_2_2->setFrameShadow( TQGroupBox::Sunken ); - GroupBox2_2_2->setColumnLayout(0, TQt::Vertical ); - GroupBox2_2_2->layout()->setSpacing( 6 ); - GroupBox2_2_2->layout()->setMargin( 11 ); - GroupBox2_2_2Layout = new TQGridLayout( GroupBox2_2_2->layout() ); - GroupBox2_2_2Layout->setAlignment( TQt::AlignTop ); - - editValue = new TQLineEdit( GroupBox2_2_2, "editValue" ); - editValue->setEnabled( FALSE ); - editValue->setAlignment( int( TQLineEdit::AlignLeft ) ); - editValue->setEdited( TRUE ); - - GroupBox2_2_2Layout->addWidget( editValue, 1, 0 ); - - TextLabel3_2_2_3_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_2_3_2_2_2" ); - - GroupBox2_2_2Layout->addWidget( TextLabel3_2_2_3_2_2_2, 0, 0 ); - - TextLabel3_2_4_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_4_2_2_2" ); - TextLabel3_2_4_2_2_2->setScaledContents( FALSE ); - - GroupBox2_2_2Layout->addWidget( TextLabel3_2_4_2_2_2, 0, 1 ); - - editMaxValue = new TQComboBox( FALSE, GroupBox2_2_2, "editMaxValue" ); - editMaxValue->setEditable( TRUE ); - editMaxValue->setSizeLimit( 12 ); - - GroupBox2_2_2Layout->addWidget( editMaxValue, 1, 1 ); - - TextLabel1_2_3_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel1_2_3_2_2" ); - - GroupBox2_2_2Layout->addWidget( TextLabel1_2_3_2_2, 0, 2 ); - - editMul = new TQLineEdit( GroupBox2_2_2, "editMul" ); - - GroupBox2_2_2Layout->addWidget( editMul, 1, 2 ); - - TextLabel3_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2" ); - - GroupBox2_2_2Layout->addWidget( TextLabel3_2, 3, 0 ); - - TextLabel3_2_3_2_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_3_2_2_2_2" ); - - GroupBox2_2_2Layout->addWidget( TextLabel3_2_3_2_2_2_2, 3, 1 ); - - TextLabel1_3_3_2 = new TQLabel( GroupBox2_2_2, "TextLabel1_3_3_2" ); - - GroupBox2_2_2Layout->addWidget( TextLabel1_3_3_2, 3, 2 ); - - editIdealValue = new TQLineEdit( GroupBox2_2_2, "editIdealValue" ); - editIdealValue->setAlignment( int( TQLineEdit::AlignLeft ) ); - - GroupBox2_2_2Layout->addWidget( editIdealValue, 4, 0 ); - - editMinValue = new TQComboBox( FALSE, GroupBox2_2_2, "editMinValue" ); - editMinValue->setEditable( TRUE ); - editMinValue->setSizeLimit( 12 ); - - GroupBox2_2_2Layout->addWidget( editMinValue, 4, 1 ); - - editSum = new TQLineEdit( GroupBox2_2_2, "editSum" ); - - GroupBox2_2_2Layout->addWidget( editSum, 4, 2 ); - spacer12 = new TQSpacerItem( 21, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - GroupBox2_2_2Layout->addItem( spacer12, 5, 1 ); - spacer10 = new TQSpacerItem( 20, 5, TQSizePolicy::Minimum, TQSizePolicy::Fixed ); - GroupBox2_2_2Layout->addItem( spacer10, 2, 1 ); - - tabLayout_2->addWidget( GroupBox2_2_2, 1, 0 ); - SensorsTab->insertTab( tab_2, TQString("") ); - - tab_3 = new TQWidget( SensorsTab, "tab_3" ); - tabLayout_3 = new TQVBoxLayout( tab_3, 11, 6, "tabLayout_3"); - - GroupBox13 = new TQGroupBox( tab_3, "GroupBox13" ); - GroupBox13->setMinimumSize( TQSize( 0, 50 ) ); - GroupBox13->setMaximumSize( TQSize( 32767, 50 ) ); - GroupBox13->setColumnLayout(0, TQt::Vertical ); - GroupBox13->layout()->setSpacing( 6 ); - GroupBox13->layout()->setMargin( 11 ); - GroupBox13Layout = new TQGridLayout( GroupBox13->layout() ); - GroupBox13Layout->setAlignment( TQt::AlignTop ); - - checkShow = new TQCheckBox( GroupBox13, "checkShow" ); - checkShow->setCursor( TQCursor( 0 ) ); - - GroupBox13Layout->addWidget( checkShow, 0, 0 ); - tabLayout_3->addWidget( GroupBox13 ); - - boxPanelPalette = new TQGroupBox( tab_3, "boxPanelPalette" ); - boxPanelPalette->setMinimumSize( TQSize( 0, 90 ) ); - tabLayout_3->addWidget( boxPanelPalette ); - Spacer4_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tabLayout_3->addItem( Spacer4_2 ); - SensorsTab->insertTab( tab_3, TQString("") ); - - tab_4 = new TQWidget( SensorsTab, "tab_4" ); - tabLayout_4 = new TQGridLayout( tab_4, 1, 1, 11, 6, "tabLayout_4"); - - GroupBox14 = new TQGroupBox( tab_4, "GroupBox14" ); - GroupBox14->setMinimumSize( TQSize( 0, 50 ) ); - GroupBox14->setMaximumSize( TQSize( 32767, 50 ) ); - GroupBox14->setColumnLayout(0, TQt::Vertical ); - GroupBox14->layout()->setSpacing( 6 ); - GroupBox14->layout()->setMargin( 11 ); - GroupBox14Layout = new TQGridLayout( GroupBox14->layout() ); - GroupBox14Layout->setAlignment( TQt::AlignTop ); - - checkShowInDock = new TQCheckBox( GroupBox14, "checkShowInDock" ); - checkShowInDock->setCursor( TQCursor( 0 ) ); - - GroupBox14Layout->addWidget( checkShowInDock, 0, 0 ); - - tabLayout_4->addWidget( GroupBox14, 0, 0 ); - Spacer3_2 = new TQSpacerItem( 20, 120, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tabLayout_4->addItem( Spacer3_2, 2, 0 ); - - GroupBoxColorDock = new TQGroupBox( tab_4, "GroupBoxColorDock" ); - GroupBoxColorDock->setEnabled( TRUE ); - GroupBoxColorDock->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, GroupBoxColorDock->sizePolicy().hasHeightForWidth() ) ); - GroupBoxColorDock->setFrameShape( TQGroupBox::Box ); - GroupBoxColorDock->setColumnLayout(0, TQt::Vertical ); - GroupBoxColorDock->layout()->setSpacing( 6 ); - GroupBoxColorDock->layout()->setMargin( 11 ); - GroupBoxColorDockLayout = new TQGridLayout( GroupBoxColorDock->layout() ); - GroupBoxColorDockLayout->setAlignment( TQt::AlignTop ); - - TextLabel1_2_2_2_2 = new TQLabel( GroupBoxColorDock, "TextLabel1_2_2_2_2" ); - TextLabel1_2_2_2_2->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignLeft ) ); - - GroupBoxColorDockLayout->addWidget( TextLabel1_2_2_2_2, 1, 0 ); - - colorAlarm = new KColorButton( GroupBoxColorDock, "colorAlarm" ); - colorAlarm->setEnabled( TRUE ); - colorAlarm->setToggleButton( FALSE ); - colorAlarm->setColor( TQColor( 255, 85, 0 ) ); - - GroupBoxColorDockLayout->addWidget( colorAlarm, 1, 1 ); - - colorNormal = new KColorButton( GroupBoxColorDock, "colorNormal" ); - colorNormal->setEnabled( TRUE ); - colorNormal->setAcceptDrops( TRUE ); - colorNormal->setToggleButton( FALSE ); - colorNormal->setOn( FALSE ); - colorNormal->setColor( TQColor( 0, 0, 255 ) ); - - GroupBoxColorDockLayout->addWidget( colorNormal, 0, 1 ); - spacer5 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - GroupBoxColorDockLayout->addItem( spacer5, 0, 2 ); - spacer6 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - GroupBoxColorDockLayout->addItem( spacer6, 1, 2 ); - - TextLabel1_4_2_2 = new TQLabel( GroupBoxColorDock, "TextLabel1_4_2_2" ); - TextLabel1_4_2_2->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignLeft ) ); - - GroupBoxColorDockLayout->addWidget( TextLabel1_4_2_2, 0, 0 ); - - tabLayout_4->addWidget( GroupBoxColorDock, 1, 0 ); - SensorsTab->insertTab( tab_4, TQString("") ); - - tab_5 = new TQWidget( SensorsTab, "tab_5" ); - tabLayout_5 = new TQVBoxLayout( tab_5, 11, 6, "tabLayout_5"); - - TextLabel1_3_2_2_2_2 = new TQLabel( tab_5, "TextLabel1_3_2_2_2_2" ); - tabLayout_5->addWidget( TextLabel1_3_2_2_2_2 ); - - Frame11_2_2_2 = new TQFrame( tab_5, "Frame11_2_2_2" ); - Frame11_2_2_2->setFrameShape( TQFrame::HLine ); - Frame11_2_2_2->setFrameShadow( TQFrame::Sunken ); - tabLayout_5->addWidget( Frame11_2_2_2 ); - - layout9 = new TQGridLayout( 0, 1, 1, 0, 6, "layout9"); - - CheckAllSensors = new TQCheckBox( tab_5, "CheckAllSensors" ); - CheckAllSensors->setAutoResize( TRUE ); - - layout9->addWidget( CheckAllSensors, 6, 0 ); - spacer9 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - layout9->addItem( spacer9, 7, 0 ); - - radioAlarm1 = new TQRadioButton( tab_5, "radioAlarm1" ); - radioAlarm1->setCursor( TQCursor( 0 ) ); - radioAlarm1->setChecked( TRUE ); - - layout9->addWidget( radioAlarm1, 4, 0 ); - - buttonTest = new TQPushButton( tab_5, "buttonTest" ); - buttonTest->setEnabled( FALSE ); - - layout9->addWidget( buttonTest, 5, 1 ); - - radioAlarm2 = new TQRadioButton( tab_5, "radioAlarm2" ); - radioAlarm2->setCursor( TQCursor( 0 ) ); - radioAlarm2->setChecked( FALSE ); - - layout9->addWidget( radioAlarm2, 2, 0 ); - - radioAlarm3 = new TQRadioButton( tab_5, "radioAlarm3" ); - radioAlarm3->setCursor( TQCursor( 0 ) ); - - layout9->addWidget( radioAlarm3, 0, 0 ); - - layout6 = new TQHBoxLayout( 0, 0, 6, "layout6"); - spacer7 = new TQSpacerItem( 31, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum ); - layout6->addItem( spacer7 ); - - editLaunch = new TQLineEdit( tab_5, "editLaunch" ); - editLaunch->setEnabled( FALSE ); - layout6->addWidget( editLaunch ); - - layout9->addLayout( layout6, 1, 0 ); - - layout7 = new TQHBoxLayout( 0, 0, 6, "layout7"); - spacer8 = new TQSpacerItem( 31, 21, TQSizePolicy::Fixed, TQSizePolicy::Minimum ); - layout7->addItem( spacer8 ); - - editPlay = new TQLineEdit( tab_5, "editPlay" ); - editPlay->setEnabled( FALSE ); - layout7->addWidget( editPlay ); - - layout9->addLayout( layout7, 3, 0 ); - tabLayout_5->addLayout( layout9 ); - SensorsTab->insertTab( tab_5, TQString("") ); - - tabLayout->addWidget( SensorsTab, 0, 1 ); - - listSensors = new TQListBox( tab, "listSensors" ); - listSensors->setMinimumSize( TQSize( 120, 0 ) ); - listSensors->setMaximumSize( TQSize( 120, 32767 ) ); - listSensors->setFrameShape( TQListBox::StyledPanel ); - listSensors->setFrameShadow( TQListBox::Sunken ); - listSensors->setLineWidth( 2 ); - listSensors->setColumnMode( TQListBox::FixedNumber ); - - tabLayout->addWidget( listSensors, 0, 0 ); - MainTab->insertTab( tab, TQString("") ); - - tab_6 = new TQWidget( MainTab, "tab_6" ); - tabLayout_6 = new TQGridLayout( tab_6, 1, 1, 11, 6, "tabLayout_6"); - - ButtonGroup5 = new TQButtonGroup( tab_6, "ButtonGroup5" ); - ButtonGroup5->setColumnLayout(0, TQt::Vertical ); - ButtonGroup5->layout()->setSpacing( 6 ); - ButtonGroup5->layout()->setMargin( 11 ); - ButtonGroup5Layout = new TQGridLayout( ButtonGroup5->layout() ); - ButtonGroup5Layout->setAlignment( TQt::AlignTop ); - - RadioF = new TQRadioButton( ButtonGroup5, "RadioF" ); - RadioF->setMinimumSize( TQSize( 0, 0 ) ); - - ButtonGroup5Layout->addWidget( RadioF, 1, 0 ); - - RadioC = new TQRadioButton( ButtonGroup5, "RadioC" ); - RadioC->setChecked( TRUE ); - - ButtonGroup5Layout->addWidget( RadioC, 0, 0 ); - - RadioK = new TQRadioButton( ButtonGroup5, "RadioK" ); - - ButtonGroup5Layout->addWidget( RadioK, 2, 0 ); - - tabLayout_6->addWidget( ButtonGroup5, 0, 0 ); - spacer12_2 = new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tabLayout_6->addItem( spacer12_2, 2, 0 ); - - groupBox79 = new TQGroupBox( tab_6, "groupBox79" ); - groupBox79->setColumnLayout(0, TQt::Vertical ); - groupBox79->layout()->setSpacing( 6 ); - groupBox79->layout()->setMargin( 18 ); - groupBox79Layout = new TQGridLayout( groupBox79->layout() ); - groupBox79Layout->setAlignment( TQt::AlignTop ); - - SpinUpdateTime = new TQSpinBox( groupBox79, "SpinUpdateTime" ); - SpinUpdateTime->setMinValue( 1 ); - SpinUpdateTime->setValue( 5 ); - - groupBox79Layout->addWidget( SpinUpdateTime, 0, 0 ); - - SliderUpdateTime = new TQSlider( groupBox79, "SliderUpdateTime" ); - SliderUpdateTime->setMaxValue( 60 ); - SliderUpdateTime->setValue( 5 ); - SliderUpdateTime->setOrientation( TQSlider::Horizontal ); - SliderUpdateTime->setTickmarks( TQSlider::Below ); - SliderUpdateTime->setTickInterval( 1 ); - - groupBox79Layout->addWidget( SliderUpdateTime, 0, 1 ); - - tabLayout_6->addWidget( groupBox79, 1, 0 ); - MainTab->insertTab( tab_6, TQString("") ); - - LMSensorsCfgDesignLayout->addWidget( MainTab, 0, 0 ); - languageChange(); - resize( TQSize(438, 344).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( radioAlarm3, SIGNAL( toggled(bool) ), editLaunch, SLOT( setEnabled(bool) ) ); - connect( radioAlarm2, SIGNAL( toggled(bool) ), editPlay, SLOT( setEnabled(bool) ) ); - connect( radioAlarm1, SIGNAL( toggled(bool) ), buttonTest, SLOT( setDisabled(bool) ) ); - connect( SliderUpdateTime, SIGNAL( valueChanged(int) ), SpinUpdateTime, SLOT( setValue(int) ) ); - connect( SpinUpdateTime, SIGNAL( valueChanged(int) ), SliderUpdateTime, SLOT( setValue(int) ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -LMSensorsCfgDesign::~LMSensorsCfgDesign() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void LMSensorsCfgDesign::languageChange() -{ - setCaption( tr2i18n( "LMSensorsCfgDesign" ) ); - GroupBoxDes->setTitle( TQString::null ); - TextLabel2_2->setText( tr2i18n( "Description" ) ); - editDescription->setText( TQString::null ); - GroupBox2_2_2->setTitle( tr2i18n( "Values" ) ); - editValue->setText( TQString::null ); - TextLabel3_2_2_3_2_2_2->setText( tr2i18n( "Current" ) ); - TextLabel3_2_4_2_2_2->setText( tr2i18n( "Maximum" ) ); - editMaxValue->clear(); - editMaxValue->insertItem( tr2i18n( "+1%" ) ); - editMaxValue->insertItem( tr2i18n( "+2%" ) ); - editMaxValue->insertItem( tr2i18n( "+3%" ) ); - editMaxValue->insertItem( tr2i18n( "+4%" ) ); - editMaxValue->insertItem( tr2i18n( "+5%" ) ); - editMaxValue->insertItem( tr2i18n( "+10%" ) ); - editMaxValue->insertItem( tr2i18n( "+15%" ) ); - editMaxValue->insertItem( tr2i18n( "+20%" ) ); - editMaxValue->insertItem( tr2i18n( "+30%" ) ); - editMaxValue->insertItem( tr2i18n( "+40%" ) ); - editMaxValue->insertItem( tr2i18n( "+50%" ) ); - TextLabel1_2_3_2_2->setText( tr2i18n( "Multiplier" ) ); - TextLabel3_2->setText( tr2i18n( "Ideal" ) ); - TextLabel3_2_3_2_2_2_2->setText( tr2i18n( "Minimum" ) ); - TextLabel1_3_3_2->setText( tr2i18n( "Addition" ) ); - editIdealValue->setText( TQString::null ); - editMinValue->clear(); - editMinValue->insertItem( tr2i18n( "-1%" ) ); - editMinValue->insertItem( tr2i18n( "-2%" ) ); - editMinValue->insertItem( tr2i18n( "-3%" ) ); - editMinValue->insertItem( tr2i18n( "-4%" ) ); - editMinValue->insertItem( tr2i18n( "-5%" ) ); - editMinValue->insertItem( tr2i18n( "-10%" ) ); - editMinValue->insertItem( tr2i18n( "-15%" ) ); - editMinValue->insertItem( tr2i18n( "-20%" ) ); - editMinValue->insertItem( tr2i18n( "-30%" ) ); - editMinValue->insertItem( tr2i18n( "-40%" ) ); - editMinValue->insertItem( tr2i18n( "-50%" ) ); - SensorsTab->changeTab( tab_2, tr2i18n( "General" ) ); - GroupBox13->setTitle( TQString::null ); - checkShow->setText( tr2i18n( "Visible" ) ); - boxPanelPalette->setTitle( tr2i18n( "Colors" ) ); - SensorsTab->changeTab( tab_3, tr2i18n( "Panel" ) ); - GroupBox14->setTitle( TQString::null ); - checkShowInDock->setText( tr2i18n( "Visible" ) ); - GroupBoxColorDock->setTitle( tr2i18n( "Colors" ) ); - TextLabel1_2_2_2_2->setText( tr2i18n( "Alarm" ) ); - colorAlarm->setText( TQString::null ); - colorNormal->setText( TQString::null ); - TextLabel1_4_2_2->setText( tr2i18n( "Normal" ) ); - SensorsTab->changeTab( tab_4, tr2i18n( "Dock" ) ); - TextLabel1_3_2_2_2_2->setText( tr2i18n( "On reach alarm value:" ) ); - CheckAllSensors->setText( tr2i18n( "Apply to all sensors" ) ); - radioAlarm1->setText( tr2i18n( "Do nothing" ) ); - buttonTest->setText( tr2i18n( "Test" ) ); - radioAlarm2->setText( tr2i18n( "Play alarm sound" ) ); - radioAlarm3->setText( tr2i18n( "Run command" ) ); - SensorsTab->changeTab( tab_5, tr2i18n( "Alarms" ) ); - MainTab->changeTab( tab, tr2i18n( "Sensors" ) ); - ButtonGroup5->setTitle( tr2i18n( "Temperatures scale" ) ); - RadioF->setText( tr2i18n( "Fahrenheit" ) ); - RadioC->setText( tr2i18n( "Celsius" ) ); - RadioK->setText( tr2i18n( "Kelvin" ) ); - groupBox79->setTitle( tr2i18n( "Update interval" ) ); - SpinUpdateTime->setSuffix( tr2i18n( "s" ) ); - MainTab->changeTab( tab_6, tr2i18n( "Preferences" ) ); -} - -#include "lmsensorscfgdesign.moc" |