?? form1.cpp
字號:
/****************************************************************************** Form implementation generated from reading ui file 'form1.ui'**** Created: 二 5月 23 16:49:51 2006** by: The User Interface Compiler ($Id: qt/main.cpp 3.1.2 edited Dec 19 11:45 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "form1.h"#include <qvariant.h>#include <qlabel.h>#include <qpushbutton.h>#include <qlineedit.h>#include <qcombobox.h>#include <qradiobutton.h>#include <qframe.h>#include <qslider.h>#include <qspinbox.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "form1.ui.h"/* * Constructs a Form1 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. */Form1::Form1( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "Form1" ); QFont f( font() ); setFont( f ); textLabel2 = new QLabel( this, "textLabel2" ); textLabel2->setGeometry( QRect( 230, 110, 40, 16 ) ); textLabel1_2 = new QLabel( this, "textLabel1_2" ); textLabel1_2->setGeometry( QRect( 22, 16, 65, 31 ) ); textLabel2_2 = new QLabel( this, "textLabel2_2" ); textLabel2_2->setGeometry( QRect( 20, 60, 65, 31 ) ); imageB = new QPushButton( this, "imageB" ); imageB->setGeometry( QRect( 360, 60, 50, 31 ) ); lineEditA = new QLineEdit( this, "lineEditA" ); lineEditA->setGeometry( QRect( 90, 20, 270, 30 ) ); lineEditB = new QLineEdit( this, "lineEditB" ); lineEditB->setGeometry( QRect( 90, 60, 270, 30 ) ); imageA = new QPushButton( this, "imageA" ); imageA->setGeometry( QRect( 360, 20, 50, 31 ) ); textLabel2_3 = new QLabel( this, "textLabel2_3" ); textLabel2_3->setGeometry( QRect( 490, 0, 85, 20 ) ); lineEdit8 = new QLineEdit( this, "lineEdit8" ); lineEdit8->setGeometry( QRect( 500, 20, 170, 22 ) ); lineEdit8->setReadOnly( TRUE ); comboBoxAB = new QComboBox( FALSE, this, "comboBoxAB" ); comboBoxAB->setGeometry( QRect( 580, 50, 85, 27 ) ); comboBoxfomat = new QComboBox( FALSE, this, "comboBoxfomat" ); comboBoxfomat->setGeometry( QRect( 580, 80, 85, 27 ) ); textLabel1_3 = new QLabel( this, "textLabel1_3" ); textLabel1_3->setGeometry( QRect( 490, 160, 122, 20 ) ); pushButton7 = new QPushButton( this, "pushButton7" ); pushButton7->setGeometry( QRect( 590, 190, 80, 31 ) ); textLabel14 = new QLabel( this, "textLabel14" ); textLabel14->setGeometry( QRect( 490, 300, 40, 20 ) ); textLabel15 = new QLabel( this, "textLabel15" ); textLabel15->setGeometry( QRect( 490, 420, 40, 20 ) ); textLabel6 = new QLabel( this, "textLabel6" ); textLabel6->setGeometry( QRect( 490, 270, 85, 20 ) ); textLabel1_5 = new QLabel( this, "textLabel1_5" ); textLabel1_5->setGeometry( QRect( 700, 0, 53, 20 ) ); comboBox3x3AB = new QComboBox( FALSE, this, "comboBox3x3AB" ); comboBox3x3AB->setGeometry( QRect( 780, 30, 85, 27 ) ); textLabel2_4 = new QLabel( this, "textLabel2_4" ); textLabel2_4->setGeometry( QRect( 710, 30, 59, 20 ) ); textLabel3_2 = new QLabel( this, "textLabel3_2" ); textLabel3_2->setGeometry( QRect( 500, 50, 59, 20 ) ); textLabel4 = new QLabel( this, "textLabel4" ); textLabel4->setGeometry( QRect( 500, 80, 58, 20 ) ); radioButtonCal = new QRadioButton( this, "radioButtonCal" ); radioButtonCal->setGeometry( QRect( 550, 230, 120, 20 ) ); radioButton3x3 = new QRadioButton( this, "radioButton3x3" ); radioButton3x3->setGeometry( QRect( 730, 100, 120, 20 ) ); line9_2 = new QFrame( this, "line9_2" ); line9_2->setGeometry( QRect( 690, 120, 181, 20 ) ); line9_2->setFrameShape( QFrame::HLine ); line9_2->setFrameShadow( QFrame::Sunken ); line9_2->setFrameShape( QFrame::HLine ); textLabel3_3 = new QLabel( this, "textLabel3_3" ); textLabel3_3->setGeometry( QRect( 700, 140, 40, 20 ) ); textLabel2_4_2 = new QLabel( this, "textLabel2_4_2" ); textLabel2_4_2->setGeometry( QRect( 710, 170, 59, 20 ) ); comboBoxThreshold = new QComboBox( FALSE, this, "comboBoxThreshold" ); comboBoxThreshold->setGeometry( QRect( 770, 170, 85, 27 ) ); textLabel1_6 = new QLabel( this, "textLabel1_6" ); textLabel1_6->setGeometry( QRect( 710, 190, 33, 20 ) ); radioButtonThreshold = new QRadioButton( this, "radioButtonThreshold" ); radioButtonThreshold->setGeometry( QRect( 730, 280, 130, 20 ) ); sliderThreshold = new QSlider( this, "sliderThreshold" ); sliderThreshold->setGeometry( QRect( 710, 210, 110, 20 ) ); sliderThreshold->setMaxValue( 255 ); sliderThreshold->setOrientation( QSlider::Horizontal ); radioButtonHLS = new QRadioButton( this, "radioButtonHLS" ); radioButtonHLS->setGeometry( QRect( 320, 530, 120, 20 ) ); radioButtonRGB = new QRadioButton( this, "radioButtonRGB" ); radioButtonRGB->setGeometry( QRect( 70, 530, 120, 20 ) ); comboBoxRGB = new QComboBox( FALSE, this, "comboBoxRGB" ); comboBoxRGB->setGeometry( QRect( 100, 460, 85, 27 ) ); comboBoxRGBAB = new QComboBox( FALSE, this, "comboBoxRGBAB" ); comboBoxRGBAB->setGeometry( QRect( 100, 430, 85, 27 ) ); textLabel10 = new QLabel( this, "textLabel10" ); textLabel10->setGeometry( QRect( 40, 460, 59, 20 ) ); textLabel9 = new QLabel( this, "textLabel9" ); textLabel9->setGeometry( QRect( 40, 430, 60, 20 ) ); comboBoxHLS = new QComboBox( FALSE, this, "comboBoxHLS" ); comboBoxHLS->setGeometry( QRect( 350, 460, 85, 27 ) ); comboBoxHLSAB = new QComboBox( FALSE, this, "comboBoxHLSAB" ); comboBoxHLSAB->setGeometry( QRect( 350, 430, 85, 27 ) ); textLabel12 = new QLabel( this, "textLabel12" ); textLabel12->setGeometry( QRect( 290, 430, 59, 20 ) ); textLabel13 = new QLabel( this, "textLabel13" ); textLabel13->setGeometry( QRect( 290, 460, 59, 20 ) ); textLabel11 = new QLabel( this, "textLabel11" ); textLabel11->setGeometry( QRect( 270, 400, 53, 20 ) ); textLabel8 = new QLabel( this, "textLabel8" ); textLabel8->setGeometry( QRect( 20, 400, 51, 20 ) ); line2 = new QFrame( this, "line2" ); line2->setGeometry( QRect( 10, 380, 470, 20 ) ); line2->setFrameShape( QFrame::HLine ); line2->setFrameShadow( QFrame::Sunken ); line2->setFrameShape( QFrame::HLine ); textLabel1 = new QLabel( this, "textLabel1" ); textLabel1->setGeometry( QRect( 20, 110, 40, 16 ) ); textLabel3 = new QLabel( this, "textLabel3" ); textLabel3->setGeometry( QRect( 20, 220, 60, 31 ) ); lineEdit1 = new QLineEdit( this, "lineEdit1" ); lineEdit1->setGeometry( QRect( 90, 220, 370, 30 ) ); lineEdit1->setReadOnly( TRUE ); line3 = new QFrame( this, "line3" ); line3->setGeometry( QRect( 10, 250, 470, 20 ) ); line3->setFrameShape( QFrame::HLine ); line3->setFrameShadow( QFrame::Sunken ); line3->setFrameShape( QFrame::HLine ); textLabel1_4 = new QLabel( this, "textLabel1_4" ); textLabel1_4->setGeometry( QRect( 20, 270, 60, 20 ) ); textLabel18 = new QLabel( this, "textLabel18" ); textLabel18->setGeometry( QRect( 20, 330, 33, 20 ) ); slider1 = new QSlider( this, "slider1" ); slider1->setGeometry( QRect( 20, 350, 110, 20 ) ); slider1->setMaxValue( 255 ); slider1->setOrientation( QSlider::Horizontal ); spinBox1 = new QSpinBox( this, "spinBox1" ); spinBox1->setGeometry( QRect( 140, 341, 52, 30 ) ); spinBox1->setMaxValue( 255 ); pushButton2 = new QPushButton( this, "pushButton2" ); pushButton2->setGeometry( QRect( 200, 310, 80, 31 ) ); pushButton3 = new QPushButton( this, "pushButton3" ); pushButton3->setGeometry( QRect( 200, 340, 80, 31 ) ); radioButtonCom = new QRadioButton( this, "radioButtonCom" ); radioButtonCom->setGeometry( QRect( 90, 310, 100, 20 ) );
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -