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

📄 groupeditorwidgetbase.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 'groupEditorWidgetBase.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 "groupEditorWidgetBase.h"#include <qvariant.h>#include <qpushbutton.h>#include <qlabel.h>#include <qlistbox.h>#include <qlineedit.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/*  *  Constructs a GroupEditorWidgetBase as a child of 'parent', with the  *  name 'name' and widget flags set to 'f'. */GroupEditorWidgetBase::GroupEditorWidgetBase( QWidget* parent, const char* name, WFlags fl )    : QWidget( parent, name, fl ){    if ( !name )	setName( "GroupEditorWidgetBase" );    GroupEditorWidgetBaseLayout = new QHBoxLayout( this, 11, 6, "GroupEditorWidgetBaseLayout");     layout8 = new QVBoxLayout( 0, 0, 6, "layout8");     textLabel1 = new QLabel( this, "textLabel1" );    layout8->addWidget( textLabel1 );    mAvailableList = new QListBox( this, "mAvailableList" );    layout8->addWidget( mAvailableList );    GroupEditorWidgetBaseLayout->addLayout( layout8 );    layout13 = new QVBoxLayout( 0, 0, 6, "layout13");     QSpacerItem* spacer = new QSpacerItem( 20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );    layout13->addItem( spacer );    mAssignBtn = new QPushButton( this, "mAssignBtn" );    layout13->addWidget( mAssignBtn );    mUnassignBtn = new QPushButton( this, "mUnassignBtn" );    layout13->addWidget( mUnassignBtn );    QSpacerItem* spacer_2 = new QSpacerItem( 20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );    layout13->addItem( spacer_2 );    GroupEditorWidgetBaseLayout->addLayout( layout13 );    layout10 = new QVBoxLayout( 0, 0, 6, "layout10");     textLabel2 = new QLabel( this, "textLabel2" );    layout10->addWidget( textLabel2 );    mAssignedList = new QListBox( this, "mAssignedList" );    layout10->addWidget( mAssignedList );    layout9 = new QHBoxLayout( 0, 0, 6, "layout9");     mNewGroupEdit = new QLineEdit( this, "mNewGroupEdit" );    layout9->addWidget( mNewGroupEdit );    mAddBtn = new QPushButton( this, "mAddBtn" );    layout9->addWidget( mAddBtn );    layout10->addLayout( layout9 );    GroupEditorWidgetBaseLayout->addLayout( layout10 );    languageChange();    resize( QSize(749, 748).expandedTo(minimumSizeHint()) );    clearWState( WState_Polished );    // signals and slots connections    connect( mAssignBtn, SIGNAL( clicked() ), this, SLOT( assignGroup() ) );    connect( mUnassignBtn, SIGNAL( clicked() ), this, SLOT( unassignGroup() ) );    connect( mAddBtn, SIGNAL( clicked() ), this, SLOT( addNewGroup() ) );}/* *  Destroys the object and frees any allocated resources */GroupEditorWidgetBase::~GroupEditorWidgetBase(){    // no need to delete child widgets, Qt does it all for us}/* *  Sets the strings of the subwidgets using the current *  language. */void GroupEditorWidgetBase::languageChange(){    setCaption( tr( "Form1" ) );    textLabel1->setText( tr( "Available" ) );    mAssignBtn->setText( tr( "      >>      " ) );    mUnassignBtn->setText( tr( "    <<    " ) );    textLabel2->setText( tr( "Assigned" ) );    mAddBtn->setText( tr( "Add" ) );}void GroupEditorWidgetBase::assignGroup(){    qWarning( "GroupEditorWidgetBase::assignGroup(): Not implemented yet" );}void GroupEditorWidgetBase::unassignGroup(){    qWarning( "GroupEditorWidgetBase::unassignGroup(): Not implemented yet" );}void GroupEditorWidgetBase::addNewGroup(){    qWarning( "GroupEditorWidgetBase::addNewGroup(): Not implemented yet" );}

⌨️ 快捷键说明

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