• 大小: 25.16MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-02
  • 语言: 数据库
  • 标签: Qt  数据库  C++  VS  

资源简介

编写环境是VS2010+Qt4.8.5,工程是一个可以实现简单的学生信息管理的软件,涉及到的知识有链表、信号与曹、Sql数据库、各种基本控件的操作

资源截图

代码片段和文件信息

#include “findsome.h“
#include
#include 
FindSome::FindSome(QDialog *parent)
: QDialog(parent)
{
ui.setupUi(this);
Qobject::connect(ui.pushButton_OKSIGNAL(clicked())thisSLOT(On_OK()));
Qobject::connect(ui.pushButton_CancelSIGNAL(clicked())thisSLOT(On_Cancel()));
}

FindSome::~FindSome()
{
}
void FindSome::On_OK()
{
QString cs=ui.lineEdit_SID_Find->text();
bool i=0;
QList::iterator List_iterator;
if (cs==““)//提示学号不能为空
{
QMessageBox::information(this“提示““学号不能为空“);
return;
}
for (List_iterator=List_Begin;List_iterator!=List_Last;List_iterator++)
{
if ( (*List_iterator)->S_ID==cs)//List_iterator是指针的指针(指向链表中存储的Student类的指针)
{
i=1;
break;
}
}
if (!i)
{
QMessageBox::information(this“提示““查无此人“);

else
{
emit FindSignal(List_iterator);
this->close();
}

}
void FindSome::On_Cancel()
{
this->close();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   83755008  2018-01-08 21:29  Student Information System\project\StudentInformation\ipch\studentinformation-97b99571\studentinformation-fbbc46f9.ipch

     文件      38754  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\cl.command.1.tlog

     文件     761624  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\CL.read.1.tlog

     文件      81022  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\CL.write.1.tlog

     文件      18022  2017-11-07 11:05  Student Information System\project\StudentInformation\StudentInformation\Debug\custombuild.command.1.tlog

     文件       5878  2017-11-07 11:05  Student Information System\project\StudentInformation\StudentInformation\Debug\custombuild.read.1.tlog

     文件      10666  2017-11-07 11:05  Student Information System\project\StudentInformation\StudentInformation\Debug\custombuild.write.1.tlog

     文件     183749  2017-11-07 11:04  Student Information System\project\StudentInformation\StudentInformation\Debug\findsome.obj

     文件     133714  2017-11-06 09:22  Student Information System\project\StudentInformation\StudentInformation\Debug\grade_postgraduate.obj

     文件     139429  2017-11-04 21:56  Student Information System\project\StudentInformation\StudentInformation\Debug\grade_undergraduate.obj

     文件      11106  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\link.command.1.tlog

     文件      21222  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\link.read.1.tlog

     文件       8926  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\link.write.1.tlog

     文件     116308  2017-11-07 11:05  Student Information System\project\StudentInformation\StudentInformation\Debug\main.obj

     文件     396991  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\mainwidget.obj

     文件     119607  2017-11-07 11:04  Student Information System\project\StudentInformation\StudentInformation\Debug\moc_findsome.obj

     文件      70404  2017-11-04 21:56  Student Information System\project\StudentInformation\StudentInformation\Debug\moc_grade_postgraduate.obj

     文件      70494  2017-11-04 21:56  Student Information System\project\StudentInformation\StudentInformation\Debug\moc_grade_undergraduate.obj

     文件     121754  2017-11-07 11:05  Student Information System\project\StudentInformation\StudentInformation\Debug\moc_mainwidget.obj

     文件     117130  2017-11-07 11:04  Student Information System\project\StudentInformation\StudentInformation\Debug\moc_stulist.obj

     文件       1810  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\mt.command.1.tlog

     文件       2244  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\mt.read.1.tlog

     文件       1218  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\mt.write.1.tlog

     文件      85992  2017-11-07 11:04  Student Information System\project\StudentInformation\StudentInformation\Debug\Postgraduate.obj

     文件      16517  2017-11-04 21:56  Student Information System\project\StudentInformation\StudentInformation\Debug\qrc_mainwidget.obj

     文件      87031  2017-11-07 11:04  Student Information System\project\StudentInformation\StudentInformation\Debug\Student.obj

     文件        381  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\StudentInformation.exe.intermediate.manifest

     文件         95  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\StudentInformation.lastbuildstate

     文件       3367  2018-01-03 19:26  Student Information System\project\StudentInformation\StudentInformation\Debug\StudentInformation.log

     文件        713  2017-10-17 21:54  Student Information System\project\StudentInformation\StudentInformation\Debug\StudentInformation.vcxprojResolveAssemblyReference.cache

............此处省略64个文件信息

评论

共有 条评论