⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trackpointeditoruibase.cpp

📁 GPS Manager is a GUI for downloading, organizing, maintaining, and uploading GPS data (i.e. tracks,
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'trackPointEditorUIBase.ui'**** Created: Fri Jul 4 11:45:35 2003**      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 "trackPointEditorUIBase.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>/*  *  Constructs a TrackPointEditorUIBase 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. */TrackPointEditorUIBase::TrackPointEditorUIBase( QWidget* parent, const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "TrackPointEditorUIBase" );    TrackPointEditorUIBaseLayout = new QVBoxLayout( this, 11, 6, "TrackPointEditorUIBaseLayout");     layout22 = new QHBoxLayout( 0, 0, 6, "layout22");     layout20 = new QVBoxLayout( 0, 0, 6, "layout20");     textLabel1 = new QLabel( this, "textLabel1" );    layout20->addWidget( textLabel1 );    textLabel2 = new QLabel( this, "textLabel2" );    layout20->addWidget( textLabel2 );    textLabel3 = new QLabel( this, "textLabel3" );    layout20->addWidget( textLabel3 );    textLabel4 = new QLabel( this, "textLabel4" );    layout20->addWidget( textLabel4 );    layout22->addLayout( layout20 );    layout19 = new QVBoxLayout( 0, 0, 6, "layout19");     mLatEdit = new QLineEdit( this, "mLatEdit" );    layout19->addWidget( mLatEdit );    mLonEdit = new QLineEdit( this, "mLonEdit" );    layout19->addWidget( mLonEdit );    mAltEdit = new QLineEdit( this, "mAltEdit" );    layout19->addWidget( mAltEdit );    mTimeEdit = new QLineEdit( this, "mTimeEdit" );    layout19->addWidget( mTimeEdit );    layout22->addLayout( layout19 );    TrackPointEditorUIBaseLayout->addLayout( layout22 );    QSpacerItem* spacer = new QSpacerItem( 20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding );    TrackPointEditorUIBaseLayout->addItem( spacer );    layout21 = new QHBoxLayout( 0, 0, 6, "layout21");     QSpacerItem* spacer_2 = new QSpacerItem( 91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );    layout21->addItem( spacer_2 );    mOKBtn = new QPushButton( this, "mOKBtn" );    layout21->addWidget( mOKBtn );    QSpacerItem* spacer_3 = new QSpacerItem( 51, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );    layout21->addItem( spacer_3 );    mCancelBtn = new QPushButton( this, "mCancelBtn" );    layout21->addWidget( mCancelBtn );    QSpacerItem* spacer_4 = new QSpacerItem( 71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );    layout21->addItem( spacer_4 );    TrackPointEditorUIBaseLayout->addLayout( layout21 );    languageChange();    resize( QSize(336, 203).expandedTo(minimumSizeHint()) );    clearWState( WState_Polished );    // signals and slots connections    connect( mOKBtn, SIGNAL( clicked() ), this, SLOT( accept() ) );    connect( mCancelBtn, SIGNAL( clicked() ), this, SLOT( close() ) );}/* *  Destroys the object and frees any allocated resources */TrackPointEditorUIBase::~TrackPointEditorUIBase(){    // no need to delete child widgets, Qt does it all for us}/* *  Sets the strings of the subwidgets using the current *  language. */void TrackPointEditorUIBase::languageChange(){    setCaption( tr( "Track Point" ) );    textLabel1->setText( tr( "Latitude" ) );    textLabel2->setText( tr( "Longitude" ) );    textLabel3->setText( tr( "Altitude" ) );    textLabel4->setText( tr( "Time" ) );    mOKBtn->setText( tr( "OK" ) );    mCancelBtn->setText( tr( "Cancel" ) );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -