資源簡介
本代碼是能在Linux下的QT下開發的餐廳點菜系統,有數據庫支持,界面精美!

代碼片段和文件信息
/****************************************************************************
**?Form?implementation?generated?from?reading?ui?file?‘add.ui‘
**
**?Created:?浜?12鏈?15?12:35:11?2009
**??????by:?The?User?Interface?Compiler?($Id:?qt/main.cpp???3.1.1???edited?Nov?21?17:40?$)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
****************************************************************************/
#include?“add.h“
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
/*?
?*??Constructs?a?Form2?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.
?*/
Form2::Form2(?QWidget*?parent?const?char*?name?bool?modal?WFlags?fl?)
????:?QDialog(?parent?name?modal?fl?)
{
????if?(?!name?)
setName(?“Form2“?);
????pushButton7?=?new?QPushButton(?this?“pushButton7“?);
????pushButton7->setGeometry(?QRect(?49?390?121?41?)?);
????pushButton8?=?new?QPushButton(?this?“pushButton8“?);
????pushButton8->setGeometry(?QRect(?229?390?121?41?)?);
????textLabel8?=?new?QLabel(?this?“textLabel8“?);
????textLabel8->setGeometry(?QRect(?140?50?140?51?)?);
????lineEdit5?=?new?QLineEdit(?this?“lineEdit5“?);
????lineEdit5->setGeometry(?QRect(?150?130?200?30?)?);
????lineEdit6?=?new?QLineEdit(?this?“lineEdit6“?);
????lineEdit6->setGeometry(?QRect(?150?190?200?30?)?);
????comboBox4?=?new?QComboBox(?FALSE?this?“comboBox4“?);
????comboBox4->setGeometry(?QRect(?150?250?201?30?)?);
????lineEdit8?=?new?QLineEdit(?this?“lineEdit8“?);
????lineEdit8->setGeometry(?QRect(?150?310?200?30?)?);
????textLabel4?=?new?QLabel(?this?“textLabel4“?);
????textLabel4->setGeometry(?QRect(?60?130?40?30?)?);
????textLabel5?=?new?QLabel(?this?“textLabel5“?);
????textLabel5->setGeometry(?QRect(?59?190?40?30?)?);
????textLabel6?=?new?QLabel(?this?“textLabel6“?);
????textLabel6->setGeometry(?QRect(?59?250?33?30?)?);
????textLabel7?=?new?QLabel(?this?“textLabel7“?);
????textLabel7->setGeometry(?QRect(?59?310?33?30?)?);
????languageChange();
????resize(?QSize(429?480).expandedTo(minimumSizeHint())?);
????//?signals?and?slots?connections
????connect(?pushButton8?SIGNAL(?clicked()?)?this?SLOT(?close()?)?);
connect(?pushButton7?SIGNAL(?clicked()?)?this?SLOT(?insert()?)?);
}
/*
?*??Destroys?the?object?and?frees?any?allocated?resources
?*/
Form2::~Form2()
{
????//?no?need?to?delete?child?widgets?Qt?does?it?all?for?us
}
/*
?*??Sets?the?strings?of?the?subwidgets?using?the?current
?*??language.
?*/
void?Form2::languageChange()
{
????setCaption(?tr(?“Form2“?)?);
????pushButton7->setText(?trUtf8(?“搴旂敤“?)?);
????pushButton8->setText(?trUtf8(?“閫€鍑??)?);
????textLabel8->setText(?trUtf8(?“娣誨姞瀛︾敓“?)?);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2535??2009-12-15?15:54??std_ifo\.moc\moc_add.cpp
?????文件???????2541??2009-12-15?15:54??std_ifo\.moc\moc_change.cpp
?????文件???????2539??2009-12-15?15:54??std_ifo\.moc\moc_form1.cpp
?????文件???????3250??2009-12-15?15:52??std_ifo\.ui\add.cpp
?????文件???????1139??2009-12-15?15:52??std_ifo\.ui\add.h
?????文件???????3262??2009-12-15?15:52??std_ifo\.ui\change.cpp
?????文件???????1142??2009-12-15?15:52??std_ifo\.ui\change.h
?????文件???????7386??2009-12-15?15:52??std_ifo\.ui\form1.cpp
?????文件???????1273??2009-12-15?15:52??std_ifo\.ui\form1.h
?????文件?????142357??2009-12-15?15:33??std_ifo\.ui\qmake_image_collection.cpp
?????文件??????47439??2010-12-20?13:49??std_ifo\1~1.jpg
?????文件???????4601??2009-12-15?11:53??std_ifo\23.jpg
?????文件???????4529??2009-12-17?13:36??std_ifo\add.cpp
?????文件???????1306??2009-12-16?18:18??std_ifo\add.h
?????文件?????313276??2009-12-17?13:37??std_ifo\add.o
?????文件???????3972??2010-12-20?16:33??std_ifo\change.cpp
?????文件???????4195??2010-12-20?15:04??std_ifo\change.cpp.bak
?????文件???????1395??2010-12-20?14:59??std_ifo\change.h
?????文件???????1368??2009-12-17?09:17??std_ifo\change.h.bak
?????文件?????320764??2010-12-20?15:04??std_ifo\change.o
?????文件??????11025??2010-12-20?16:32??std_ifo\form1.cpp
?????文件??????11035??2010-12-20?14:46??std_ifo\form1.cpp.bak
?????文件???????1596??2009-12-17?09:16??std_ifo\form1.h
?????文件?????344084??2010-12-20?14:59??std_ifo\form1.o
?????文件???????1104??2009-12-17?09:30??std_ifo\main.cpp
?????文件?????291616??2009-12-17?09:30??std_ifo\main.o
?????文件???????3415??2009-12-16?10:32??std_ifo\Makefile
?????文件???????2659??2009-12-16?18:18??std_ifo\moc_add.cpp
?????文件?????314660??2009-12-16?18:18??std_ifo\moc_add.o
?????文件???????2665??2010-12-20?14:59??std_ifo\moc_change.cpp
............此處省略14個文件信息
評論
共有 條評論