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

📄 gui.cpp

📁 一个基于QT的电网监控程序
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'gui.ui'**** Created: Mon Dec 18 10:05:03 2006**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "gui.h"#include <qframe.h>#include <qheader.h>#include <qlistview.h>#include <qlayout.h>#include <qvariant.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/*  *  Constructs a Gui which is 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. */Gui::Gui( QWidget* parent,  const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "Gui" );    resize( 640, 480 );     setMinimumSize( QSize( 640, 480 ) );    setMaximumSize( QSize( 640, 480 ) );    QFont f( font() );    f.setFamily( "adobe-courier" );    f.setPointSize( 16 );    setFont( f );     setCaption( tr( "Power " ) );    ListView1 = new QListView( this, "ListView1" );    ListView1->addColumn( tr( "Column 1" ) );    QListViewItem * item = new QListViewItem( ListView1, 0 );    item->setText( 0, tr( "New Item" ) );    ListView1->setGeometry( QRect( 5, 60, 165, 415 ) );     Frame3 = new QFrame( this, "Frame3" );    Frame3->setGeometry( QRect( 171, 60, 460, 415 ) );     Frame3->setFrameShape( QFrame::NoFrame );    Frame3->setFrameShadow( QFrame::Sunken );}/*   *  Destroys the object and frees any allocated resources */Gui::~Gui(){    // no need to delete child widgets, Qt does it all for us}

⌨️ 快捷键说明

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