📄 home_terminel_form.cpp
字号:
/****************************************************************************** Form implementation generated from reading ui file 'home_terminel_form.ui'**** Created: 六 10月 4 15:29:48 2008** by: The User Interface Compiler ($Id: qt/main.cpp 3.1.1 edited Nov 21 17:40 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "home_terminel_form.h"#include <qvariant.h>#include <qbuttongroup.h>#include <qgroupbox.h>#include <qlabel.h>#include <qlcdnumber.h>#include <qpushbutton.h>#include <qradiobutton.h>#include <qspinbox.h>#include <qtable.h>#include <qtabwidget.h>#include <qwidget.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "home_terminel_form.ui.h"/* * Constructs a home_terminel_Form as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */home_terminel_Form::home_terminel_Form( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "home_terminel_Form" ); setMinimumSize( QSize( 640, 480 ) ); setMaximumSize( QSize( 640, 480 ) ); time_lCDNumber = new QLCDNumber( this, "time_lCDNumber" ); time_lCDNumber->setGeometry( QRect( 520, 50, 110, 50 ) ); time_lCDNumber->setSegmentStyle( QLCDNumber::Filled ); groupBox1_2_2 = new QGroupBox( this, "groupBox1_2_2" ); groupBox1_2_2->setGeometry( QRect( 510, 370, 130, 90 ) ); textLabel3_4_2_2 = new QLabel( groupBox1_2_2, "textLabel3_4_2_2" ); textLabel3_4_2_2->setGeometry( QRect( 32, 44, 70, 21 ) ); textLabel4_2_2 = new QLabel( groupBox1_2_2, "textLabel4_2_2" ); textLabel4_2_2->setGeometry( QRect( 32, 64, 70, 21 ) ); textLabel2_4_2_2 = new QLabel( groupBox1_2_2, "textLabel2_4_2_2" ); textLabel2_4_2_2->setGeometry( QRect( 32, 24, 70, 20 ) ); doorStateLight = new QRadioButton( groupBox1_2_2, "doorStateLight" ); doorStateLight->setEnabled( FALSE ); doorStateLight->setGeometry( QRect( 12, 24, 16, 20 ) ); doorStateLight->setChecked( FALSE ); cameraStateLight = new QRadioButton( groupBox1_2_2, "cameraStateLight" ); cameraStateLight->setEnabled( FALSE ); cameraStateLight->setGeometry( QRect( 12, 44, 16, 20 ) ); audioStateLight = new QRadioButton( groupBox1_2_2, "audioStateLight" ); audioStateLight->setEnabled( FALSE ); audioStateLight->setGeometry( QRect( 12, 64, 16, 20 ) ); audioStateLight->setChecked( FALSE ); groupBox9 = new QGroupBox( this, "groupBox9" ); groupBox9->setGeometry( QRect( 510, 110, 130, 251 ) ); textLabel2 = new QLabel( groupBox9, "textLabel2" ); textLabel2->setGeometry( QRect( 20, 101, 81, 21 ) ); textLabel5 = new QLabel( groupBox9, "textLabel5" ); textLabel5->setGeometry( QRect( 90, 121, 20, 26 ) ); textLabel2_3 = new QLabel( groupBox9, "textLabel2_3" ); textLabel2_3->setGeometry( QRect( 100, 121, 26, 50 ) ); textLabel3 = new QLabel( groupBox9, "textLabel3" ); textLabel3->setGeometry( QRect( 20, 181, 80, 21 ) ); textLabel3_3 = new QLabel( groupBox9, "textLabel3_3" ); textLabel3_3->setGeometry( QRect( 90, 201, 42, 40 ) ); textLabel1_3 = new QLabel( groupBox9, "textLabel1_3" ); textLabel1_3->setGeometry( QRect( 90, 44, 40, 40 ) ); textLabel1 = new QLabel( groupBox9, "textLabel1" ); textLabel1->setGeometry( QRect( 20, 21, 81, 21 ) ); luminosity_lCDNumber = new QLCDNumber( groupBox9, "luminosity_lCDNumber" ); luminosity_lCDNumber->setGeometry( QRect( 10, 41, 70, 41 ) ); luminosity_lCDNumber->setSegmentStyle( QLCDNumber::Flat ); temperature_lCDNumber = new QLCDNumber( groupBox9, "temperature_lCDNumber" ); temperature_lCDNumber->setGeometry( QRect( 10, 121, 70, 41 ) ); temperature_lCDNumber->setSegmentStyle( QLCDNumber::Flat ); humidity_lCDNumber = new QLCDNumber( groupBox9, "humidity_lCDNumber" ); humidity_lCDNumber->setGeometry( QRect( 10, 201, 70, 41 ) ); humidity_lCDNumber->setSegmentStyle( QLCDNumber::Flat ); date_lCDNumber = new QLCDNumber( this, "date_lCDNumber" ); date_lCDNumber->setGeometry( QRect( 521, 10, 110, 30 ) ); date_lCDNumber->setSegmentStyle( QLCDNumber::Filled ); home_terminel_tab = new QTabWidget( this, "home_terminel_tab" ); home_terminel_tab->setGeometry( QRect( 0, 0, 510, 390 ) ); tab = new QWidget( home_terminel_tab, "tab" ); textLabel5_2 = new QLabel( tab, "textLabel5_2" ); textLabel5_2->setGeometry( QRect( 486, 270, 20, 26 ) ); textLabel3_3_2 = new QLabel( tab, "textLabel3_3_2" ); textLabel3_3_2->setGeometry( QRect( 464, 321, 42, 40 ) ); textLabel1_2 = new QLabel( tab, "textLabel1_2" ); textLabel1_2->setGeometry( QRect( 10, 20, 110, 21 ) ); set_lum_step1 = new QPushButton( tab, "set_lum_step1" ); set_lum_step1->setGeometry( QRect( 90, 40, 20, 16 ) ); set_lum_step10 = new QPushButton( tab, "set_lum_step10" ); set_lum_step10->setEnabled( FALSE ); set_lum_step10->setGeometry( QRect( 90, 56, 20, 16 ) ); set_lum_step10->setOn( FALSE ); set_lum_step50 = new QPushButton( tab, "set_lum_step50" ); set_lum_step50->setGeometry( QRect( 90, 70, 20, 16 ) ); textLabel1_3_2 = new QLabel( tab, "textLabel1_3_2" ); textLabel1_3_2->setGeometry( QRect( 116, 43, 40, 40 ) ); textLabel2_2 = new QLabel( tab, "textLabel2_2" ); textLabel2_2->setGeometry( QRect( 180, 20, 119, 20 ) ); textLabel5_3 = new QLabel( tab, "textLabel5_3" ); textLabel5_3->setGeometry( QRect( 286, 40, 20, 26 ) ); textLabel2_3_2 = new QLabel( tab, "textLabel2_3_2" ); textLabel2_3_2->setGeometry( QRect( 300, 40, 26, 50 ) ); textLabel3_2 = new QLabel( tab, "textLabel3_2" ); textLabel3_2->setGeometry( QRect( 350, 20, 101, 21 ) ); textLabel3_3_3 = new QLabel( tab, "textLabel3_3_3" ); textLabel3_3_3->setGeometry( QRect( 454, 41, 42, 40 ) ); groupBox1 = new QGroupBox( tab, "groupBox1" ); groupBox1->setGeometry( QRect( 180, 90, 120, 110 ) ); tem_in_light = new QRadioButton( groupBox1, "tem_in_light" ); tem_in_light->setEnabled( FALSE ); tem_in_light->setGeometry( QRect( 12, 24, 16, 20 ) ); tem_in_light->setChecked( FALSE ); tem_ap_light = new QRadioButton( groupBox1, "tem_ap_light" ); tem_ap_light->setEnabled( FALSE ); tem_ap_light->setGeometry( QRect( 12, 54, 16, 20 ) ); tem_de_light = new QRadioButton( groupBox1, "tem_de_light" ); tem_de_light->setEnabled( FALSE ); tem_de_light->setGeometry( QRect( 12, 84, 16, 20 ) ); tem_de_light->setChecked( FALSE ); textLabel3_4 = new QLabel( groupBox1, "textLabel3_4" ); textLabel3_4->setGeometry( QRect( 32, 54, 70, 21 ) ); textLabel4 = new QLabel( groupBox1, "textLabel4" ); textLabel4->setGeometry( QRect( 32, 84, 70, 21 ) ); textLabel2_4 = new QLabel( groupBox1, "textLabel2_4" ); textLabel2_4->setGeometry( QRect( 32, 24, 70, 20 ) ); groupBox1_2 = new QGroupBox( tab, "groupBox1_2" ); groupBox1_2->setGeometry( QRect( 10, 90, 120, 110 ) ); textLabel4_2 = new QLabel( groupBox1_2, "textLabel4_2" ); textLabel4_2->setGeometry( QRect( 32, 84, 70, 21 ) ); lum_in_light = new QRadioButton( groupBox1_2, "lum_in_light" ); lum_in_light->setEnabled( FALSE ); lum_in_light->setGeometry( QRect( 12, 24, 16, 20 ) ); lum_in_light->setChecked( FALSE ); lum_ap_light = new QRadioButton( groupBox1_2, "lum_ap_light" ); lum_ap_light->setEnabled( FALSE ); lum_ap_light->setGeometry( QRect( 12, 54, 16, 20 ) ); lum_de_light = new QRadioButton( groupBox1_2, "lum_de_light" ); lum_de_light->setEnabled( FALSE ); lum_de_light->setGeometry( QRect( 12, 84, 16, 20 ) ); lum_de_light->setChecked( FALSE ); textLabel3_4_2 = new QLabel( groupBox1_2, "textLabel3_4_2" ); textLabel3_4_2->setGeometry( QRect( 32, 54, 70, 21 ) ); textLabel2_4_2 = new QLabel( groupBox1_2, "textLabel2_4_2" ); textLabel2_4_2->setGeometry( QRect( 32, 24, 70, 20 ) ); groupBox1_3 = new QGroupBox( tab, "groupBox1_3" ); groupBox1_3->setGeometry( QRect( 350, 90, 120, 110 ) ); textLabel3_4_3 = new QLabel( groupBox1_3, "textLabel3_4_3" ); textLabel3_4_3->setGeometry( QRect( 32, 54, 70, 21 ) ); textLabel4_3 = new QLabel( groupBox1_3, "textLabel4_3" ); textLabel4_3->setGeometry( QRect( 32, 84, 70, 21 ) ); hum_in_light = new QRadioButton( groupBox1_3, "hum_in_light" ); hum_in_light->setEnabled( FALSE ); hum_in_light->setGeometry( QRect( 12, 24, 16, 20 ) ); hum_in_light->setChecked( FALSE ); hum_ap_light = new QRadioButton( groupBox1_3, "hum_ap_light" ); hum_ap_light->setEnabled( FALSE ); hum_ap_light->setGeometry( QRect( 12, 54, 16, 20 ) ); hum_de_light = new QRadioButton( groupBox1_3, "hum_de_light" ); hum_de_light->setEnabled( FALSE ); hum_de_light->setGeometry( QRect( 12, 84, 16, 20 ) ); hum_de_light->setChecked( FALSE ); textLabel2_4_3 = new QLabel( groupBox1_3, "textLabel2_4_3" ); textLabel2_4_3->setGeometry( QRect( 32, 24, 70, 20 ) ); humidity_Box = new QSpinBox( tab, "humidity_Box" ); humidity_Box->setGeometry( QRect( 350, 40, 101, 41 ) ); humidity_Box->setMaxValue( 90 ); humidity_Box->setMinValue( 20 ); humidity_Box->setValue( 50 ); luminosity_Box = new QSpinBox( tab, "luminosity_Box" ); luminosity_Box->setGeometry( QRect( 10, 40, 80, 41 ) ); luminosity_Box->setMaxValue( 2000 ); luminosity_Box->setLineStep( 10 ); luminosity_Box->setValue( 100 ); temperature_Box = new QSpinBox( tab, "temperature_Box" ); temperature_Box->setGeometry( QRect( 180, 40, 101, 41 ) ); temperature_Box->setMaxValue( 30 ); temperature_Box->setMinValue( 6 ); temperature_Box->setValue( 20 ); environment_tab = new QTabWidget( tab, "environment_tab" ); environment_tab->setGeometry( QRect( 0, 210, 520, 150 ) ); environment_tab->setBackgroundOrigin( QTabWidget::WidgetOrigin ); environment_tab->setTabPosition( QTabWidget::Bottom ); environment_tab->setTabShape( QTabWidget::Rounded ); tab_2 = new QWidget( environment_tab, "tab_2" ); saveUeserModeButton = new QPushButton( tab_2, "saveUeserModeButton" ); saveUeserModeButton->setGeometry( QRect( 80, 40, 140, 50 ) ); setUserModeButton = new QPushButton( tab_2, "setUserModeButton" ); setUserModeButton->setGeometry( QRect( 300, 40, 140, 50 ) ); environment_tab->insertTab( tab_2, "" ); tab_3 = new QWidget( environment_tab, "tab_3" ); coolMode2Button = new QPushButton( tab_3, "coolMode2Button" ); coolMode2Button->setGeometry( QRect( 300, 40, 140, 50 ) ); coolMode1Button = new QPushButton( tab_3, "coolMode1Button" ); coolMode1Button->setGeometry( QRect( 80, 40, 140, 50 ) ); environment_tab->insertTab( tab_3, "" ); tab_4 = new QWidget( environment_tab, "tab_4" ); warmMode1Button = new QPushButton( tab_4, "warmMode1Button" ); warmMode1Button->setGeometry( QRect( 80, 40, 140, 50 ) ); warmMode2Button = new QPushButton( tab_4, "warmMode2Button" ); warmMode2Button->setGeometry( QRect( 300, 40, 140, 50 ) ); environment_tab->insertTab( tab_4, "" ); home_terminel_tab->insertTab( tab, "" ); tab_5 = new QWidget( home_terminel_tab, "tab_5" ); electric_appliance_tab = new QTabWidget( tab_5, "electric_appliance_tab" ); electric_appliance_tab->setGeometry( QRect( 0, 0, 640, 460 ) ); tab_6 = new QWidget( electric_appliance_tab, "tab_6" );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -