📄 radarpulseconfigform.cpp
字号:
/****************************************************************************** Form implementation generated from reading ui file 'radarpulseconfigform.ui'**** Created: Sun Aug 29 22:06:58 2004** by: The User Interface Compiler ($Id: qt/main.cpp 3.2.3 edited May 19 14:22 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "radarpulseconfigform.h"#include <qvariant.h>#include <qpushbutton.h>#include <qlabel.h>#include <qlineedit.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "radarpulseconfigform.ui.h"/* * Constructs a RadarPulseConfigForm 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. */RadarPulseConfigForm::RadarPulseConfigForm( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "RadarPulseConfigForm" ); RadarPulseConfigFormLayout = new QGridLayout( this, 1, 1, 11, 6, "RadarPulseConfigFormLayout"); layout44 = new QVBoxLayout( 0, 0, 6, "layout44"); layout43 = new QHBoxLayout( 0, 0, 6, "layout43"); layout42 = new QVBoxLayout( 0, 0, 6, "layout42"); textLabel8 = new QLabel( this, "textLabel8" ); layout42->addWidget( textLabel8 ); textLabel8_2 = new QLabel( this, "textLabel8_2" ); layout42->addWidget( textLabel8_2 ); textLabel8_2_2 = new QLabel( this, "textLabel8_2_2" ); layout42->addWidget( textLabel8_2_2 ); textLabel8_2_2_2 = new QLabel( this, "textLabel8_2_2_2" ); layout42->addWidget( textLabel8_2_2_2 ); layout43->addLayout( layout42 ); layout41 = new QVBoxLayout( 0, 0, 6, "layout41"); radarPulseDelayLineEdit = new QLineEdit( this, "radarPulseDelayLineEdit" ); layout41->addWidget( radarPulseDelayLineEdit ); radarPulseExponentLineEdit = new QLineEdit( this, "radarPulseExponentLineEdit" ); layout41->addWidget( radarPulseExponentLineEdit ); radarPulsePowertLineEdit = new QLineEdit( this, "radarPulsePowertLineEdit" ); layout41->addWidget( radarPulsePowertLineEdit ); radarPulseAmpLineEdit = new QLineEdit( this, "radarPulseAmpLineEdit" ); layout41->addWidget( radarPulseAmpLineEdit ); layout43->addLayout( layout41 ); layout44->addLayout( layout43 ); QSpacerItem* spacer = new QSpacerItem( 20, 110, QSizePolicy::Minimum, QSizePolicy::Expanding ); layout44->addItem( spacer ); layout30 = new QHBoxLayout( 0, 0, 6, "layout30"); radarPulseModeCfgOK = new QPushButton( this, "radarPulseModeCfgOK" ); layout30->addWidget( radarPulseModeCfgOK ); QSpacerItem* spacer_2 = new QSpacerItem( 71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); layout30->addItem( spacer_2 ); radarPulseModeCfgCancel = new QPushButton( this, "radarPulseModeCfgCancel" ); layout30->addWidget( radarPulseModeCfgCancel ); layout44->addLayout( layout30 ); RadarPulseConfigFormLayout->addLayout( layout44, 0, 0 ); languageChange(); resize( QSize(386, 296).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( radarPulseModeCfgOK, SIGNAL( clicked() ), this, SLOT( OKSlot() ) ); connect( radarPulseModeCfgCancel, SIGNAL( clicked() ), this, SLOT( CancelSlot() ) );}/* * Destroys the object and frees any allocated resources */RadarPulseConfigForm::~RadarPulseConfigForm(){ // no need to delete child widgets, Qt does it all for us}/* * Sets the strings of the subwidgets using the current * language. */void RadarPulseConfigForm::languageChange(){ setCaption( tr( "Radar Pulse Mode Config" ) ); textLabel8->setText( tr( "Delay [sec]" ) ); textLabel8_2->setText( tr( "Exponent (a)" ) ); textLabel8_2_2->setText( tr( "Power (n)" ) ); textLabel8_2_2_2->setText( tr( "Amplitude" ) ); radarPulseModeCfgOK->setText( tr( "OK" ) ); radarPulseModeCfgCancel->setText( tr( "Cancel" ) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -