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

📄 phoneterminaldlg.cpp

📁 KDE下的西门子手机管理程序
💻 CPP
字号:
#include <klocale.h>/****************************************************************************** Form implementation generated from reading ui file './phoneterminaldlg.ui'**** Created: Mon Feb 19 21:40:23 2001**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "phoneterminaldlg.h"#include <qgroupbox.h>#include <qlabel.h>#include <qlineedit.h>#include <qpushbutton.h>#include <qtextview.h>#include "phonecontrol.h"#include <qlayout.h>#include <qvariant.h>#include <qtooltip.h>#include <qwhatsthis.h>/*  *  Constructs a PhoneTerminalDlg which is a child of 'parent', with the  *  name 'name'.'  */PhoneTerminalDlg::PhoneTerminalDlg( QWidget* parent,  const char* name )    : PhoneControl( parent, name ){    if ( !name )	setName( "PhoneTerminalDlg" );    resize( 400, 300 );     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, sizePolicy().hasHeightForWidth() ) );    setMinimumSize( QSize( 400, 300 ) );    setCaption( i18n( "Terminal" ) );    PhoneTerminalDlgLayout = new QVBoxLayout( this );     PhoneTerminalDlgLayout->setSpacing( 6 );    PhoneTerminalDlgLayout->setMargin( 0 );    GroupBox1 = new QGroupBox( this, "GroupBox1" );    GroupBox1->setTitle( i18n( "Phone Terminal" ) );    GroupBox1->setColumnLayout(0, Qt::Vertical );    GroupBox1->layout()->setSpacing( 0 );    GroupBox1->layout()->setMargin( 0 );    GroupBox1Layout = new QVBoxLayout( GroupBox1->layout() );    GroupBox1Layout->setAlignment( Qt::AlignTop );    GroupBox1Layout->setSpacing( 6 );    GroupBox1Layout->setMargin( 11 );    Layout2 = new QGridLayout;     Layout2->setSpacing( 6 );    Layout2->setMargin( 0 );    escButton = new QPushButton( GroupBox1, "escButton" );    escButton->setText( i18n( "send ESC" ) );    Layout2->addWidget( escButton, 1, 0 );    transmitEdit = new QLineEdit( GroupBox1, "transmitEdit" );    Layout2->addWidget( transmitEdit, 0, 2 );    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );    TextLabel1->setText( i18n( "Transmit" ) );    TextLabel1->setFrameShape( QLabel::Box );    TextLabel1->setFrameShadow( QLabel::Sunken );    Layout2->addWidget( TextLabel1, 0, 0 );    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum );    Layout2->addItem( spacer, 0, 1 );    GroupBox1Layout->addLayout( Layout2 );    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );    TextLabel2->setText( i18n( "Receive" ) );    TextLabel2->setAlignment( int( QLabel::AlignCenter ) );    TextLabel2->setFrameShape( QLabel::Box );    TextLabel2->setFrameShadow( QLabel::Sunken );    GroupBox1Layout->addWidget( TextLabel2 );    receiveView = new QTextView( GroupBox1, "receiveView" );    GroupBox1Layout->addWidget( receiveView );    PhoneTerminalDlgLayout->addWidget( GroupBox1 );    // signals and slots connections}/*   *  Destroys the object and frees any allocated resources */PhoneTerminalDlg::~PhoneTerminalDlg(){    // no need to delete child widgets, Qt does it all for us}void PhoneTerminalDlg::commandReady(){    qWarning( "PhoneTerminalDlg::commandReady(): Not implemented yet!" );}void PhoneTerminalDlg::sendEscape(){    qWarning( "PhoneTerminalDlg::sendEscape(): Not implemented yet!" );}#include "phoneterminaldlg.moc"

⌨️ 快捷键说明

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