资源简介
这是一个在linux下用qt desinger简易制作的学生成绩管理系统,只是对学生的成绩进行管理,没有对学生的基本的信息的管理:如学生的添加,删除,修改等。教师的登录名为1000 密码为111 学生的登录名为1000 密码为123 ,如果要对学生添加,删除和修改,就直接打开student.txt文件编辑就可以了。

代码片段和文件信息
/****************************************************************************
** Form implementation generated from reading ui file ‘denglu.ui‘
**
** Created by: The User Interface Compiler ($Id: qt/main.cpp 3.3.6 edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include “denglu.h“
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
/*
* Constructs a form1 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.
*/
QString stnumber;
QString stname;
QString stcode;
int flagstutea;
form1::form1( QWidget* parent const char* name bool modal WFlags fl )
: QDialog( parent name modal fl )
{
if ( !name )
setName( “form1“ );
textLabel1 = new QLabel( this “textLabel1“ );
textLabel1->setGeometry( QRect( 80 60 50 21 ) );
textLabel3 = new QLabel( this “textLabel3“ );
textLabel3->setGeometry( QRect( 80 100 50 21 ) );
lineEdit1 = new QLineEdit( this “lineEdit1“ );
lineEdit1->setGeometry( QRect( 140 60 138 22 ) );
lineEdit2 = new QLineEdit( this “lineEdit2“ );
lineEdit2->setGeometry( QRect( 140 100 138 22 ) );
lineEdit2->setEchoMode( QLineEdit::Password );
pushButton1 = new QPushButton( this “pushButton1“ );
pushButton1->setGeometry( QRect( 120 150 96 30 ) );
pushButton2 = new QPushButton( this “pushButton2“ );
pushButton2->setGeometry( QRect( 240 150 96 30 ) );
pushButton3 = new QPushButton( this “pushButton3“ );
pushButton3->setGeometry( QRect( 240 200 96 30 ) );
languageChange();
resize( QSize(383 263).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( pushButton3 SIGNAL( clicked() ) this SLOT( close() ) );
connect( pushButton1 SIGNAL( clicked() ) this SLOT( putton1thing() ) );
connect( pushButton2 SIGNAL( clicked() ) this SLOT( putton2thing() ) );
}
/*
* Destroys the object and frees any allocated resources
*/
form1::~form1()
{
// no need to delete child widgets Qt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void form1::languageChange()
{
setCaption( tr( “student score manage system(landing)“ ) );
textLabel1->setText( tr( “name:
“ ) );
textLabel3->setText( tr( “code:
“ ) );
lineEdit1->setText( QString::null );
pushButton1->setText( tr( “student door“ ) );
pushButton2->setText( tr( “teacher door“ ) );
pushButton3->setText( tr( “exit“ ) );
}
void form
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 52 2013-02-24 15:06 stsystem\course.txt
文件 6568 2013-02-24 15:06 stsystem\denglu.cpp
文件 1421 2013-02-24 15:06 stsystem\denglu.h
文件 13530 2013-02-24 15:06 stsystem\form3.cpp
文件 1553 2013-02-24 15:06 stsystem\form3.h
文件 21435 2013-02-24 15:06 stsystem\form4.cpp
文件 21435 2013-02-24 15:06 stsystem\form4.cpp~
文件 2399 2013-02-24 15:06 stsystem\form4.h
文件 239 2013-02-24 15:06 stsystem\main.cpp
文件 4955 2013-02-24 15:06 stsystem\makefile
文件 6801 2013-02-24 15:06 stsystem\mimaxiugai.cpp
文件 1317 2013-02-24 15:06 stsystem\mimaxiugai.h
文件 956015 2013-02-24 15:06 stsystem\stsystem
文件 264 2013-02-24 15:06 stsystem\stsystem.pro
文件 45 2013-02-24 15:06 stsystem\student.txt
文件 1556 2013-02-24 15:06 stsystem\studentinfor.txt
文件 29 2013-02-24 15:06 stsystem\teacher.txt
文件 27 2013-02-24 15:06 stsystem\term.txt
目录 0 2013-02-24 15:06 stsystem
----------- --------- ---------- ----- ----
1039641 19
- 上一篇:单片机实现的多功能数字电子表设计报告
- 下一篇:基于声音信号的特征提取方法的研究
相关资源
- 酒店管理系统基于Qt Creator5)
- 2018全国大学生计算机博弈大赛 棋谱
- 用汇编实现的学生成绩档案管理系统
- 学生信息管理系统源码
- vtk QT做的三维地质可视化系统2of2
- Qt局域网聊天软件
- 挑战杯全国大学生课外学术科技作品
- Qt Creator opengl实现四元数鼠标控制轨迹
- QT局域网聊天系统(基于QT5.修改过)
- qt-电子点菜系统
- 数据库实现学生成绩管理系统选课管
- ReportMachine 交叉报表 学生成绩表
- C 餐厅叫号系统(QT平)
- 网页设计作业,旅游网,适合大学生
- QT 实现文件下载
- qt图像处理
- QT,JPEG解码源代码(已完成)
- 2007年全国大学生电子设计竞赛一等奖
- 学生管理系统的添加、修改、删除、
- 成绩管理系统(数据结构)
- 学生成绩管理系统 C 语言源代码
- ssh框架实现的学生管理系统
- 高校学生信息管理系统
- 学生成绩管理系统C 源码(很完整)
- Qt 播放音频文件
- 学生信息管理系统j2ee
- 在线考试系统VC (MFC)
- 学生心理测试系统!!!
- 成绩管理和课程表系统
- 学生学历证明查询系统
评论
共有 条评论