资源简介
Qt人事管理系统
代码片段和文件信息
#include “docktool.h“
#include “mainwindow.h“
#include
#include
#include
QString tbl;
Message::Message(QWidget *parent Qt::WFlags flags)
: QWidget(parent flags)
{
ui.setupUi(this);
}
Message::~Message()
{
}
SettingTool::SettingTool(QWidget *parent Qt::WFlags flags)
: QWidget(parent flags)
{
ui.setupUi(this);
}
SettingTool::~SettingTool()
{
}
ManageTool::ManageTool(QWidget *parent Qt::WFlags flags)
: QWidget(parent flags)
{
ui.setupUi(this);
ui.listWidgetManagement->setViewMode(QListView::IconMode);
ui.listWidgetManagement->setIconSize(QSize(96 84));
ui.listWidgetManagement->setMovement(QListView::Static);
ui.listWidgetManagement->setMaximumWidth(128);
ui.listWidgetManagement->setSpacing(6);
createIcons();
ui.listWidgetManagement->setCurrentRow(0);
}
void ManageTool::createIcons()
{
QListWidgetItem *employeeButton = new QListWidgetItem(ui.listWidgetManagement);
employeeButton->setIcon(QIcon(“images/employee.png“));
employeeButton->setText(tr(“员工管理“));
employeeButton->setTextAlignment(Qt::AlignHCenter);
employeeButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *deptButton = new QListWidgetItem(ui.listWidgetManagement);
deptButton->setIcon(QIcon(“images/dept.png“));
deptButton->setText(tr(“部门管理“));
deptButton->setTextAlignment(Qt::AlignHCenter);
deptButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *leaveButton = new QListWidgetItem(ui.listWidgetManagement);
leaveButton->setIcon(QIcon(“images/leave.png“));
leaveButton->setText(tr(“请假管理“));
leaveButton->setTextAlignment(Qt::AlignHCenter);
leaveButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *checkButton = new QListWidgetItem(ui.listWidgetManagement);
checkButton->setIcon(QIcon(“images/check.png“));
checkButton->setText(tr(“考勤管理“));
checkButton->setTextAlignment(Qt::AlignHCenter);
checkButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *overtimeButton = new QListWidgetItem(ui.listWidgetManagement);
overtimeButton->setIcon(QIcon(“images/overtime.png“));
overtimeButton->setText(tr(“加班管理“));
overtimeButton->setTextAlignment(Qt::AlignHCenter);
overtimeButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *salaryButton = new QListWidgetItem(ui.listWidgetManagement);
salaryButton->setIcon(QIcon(“images/salary.png“));
salaryButton->setText(tr(“薪资管理“));
salaryButton->setTextAlignment(Qt::AlignHCenter);
salaryButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QListWidgetItem *safetyButton = new QListWidgetItem(ui.listWidgetManagement);
safetyButton->setIcon(QIcon(“images/safety.png“));
safetyButton->setText(tr(“安全管理“));
safetyButton->setTextAlignment(Qt::AlignHCenter);
safetyButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
}
ManageTool::~ManageTool()
{
}
CommandTool::CommandTool
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 630 2008-06-05 00:09 HumanManagement\HumanManagement\commandtool.ui
文件 9384 2008-06-12 23:57 HumanManagement\HumanManagement\Databa
文件 3156 2008-06-13 23:13 HumanManagement\HumanManagement\docktool.cpp
文件 985 2008-09-26 14:37 HumanManagement\HumanManagement\docktool.h
文件 5080 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\Debug\moc_docktool.cpp
文件 2523 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\Debug\moc_mainwindow.cpp
文件 2516 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\Debug\moc_manmagement.cpp
目录 0 2008-07-08 19:46 HumanManagement\HumanManagement\GeneratedFiles\Debug
文件 429432 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\qrc_humanmanagement.cpp
目录 0 2008-06-13 22:44 HumanManagement\HumanManagement\GeneratedFiles\Release
文件 1996 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_commandtool.h
文件 5543 2008-12-10 21:07 HumanManagement\HumanManagement\GeneratedFiles\ui_HummanMagement.h
文件 12960 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_mainwindow.h
文件 2165 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_managetool.h
文件 5941 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_manmagement.h
文件 5898 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_message.h
文件 10146 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles\ui_settingtool.h
目录 0 2009-06-03 14:40 HumanManagement\HumanManagement\GeneratedFiles
文件 1709 2008-06-13 22:37 HumanManagement\HumanManagement\humanmanagement.cpp
文件 2734 2007-02-15 21:36 HumanManagement\HumanManagement\HumanManagement.ico
文件 1156 2008-06-12 11:03 HumanManagement\HumanManagement\humanmanagement.qrc
文件 54 2008-06-01 13:02 HumanManagement\HumanManagement\HumanManagement.rc
文件 2904 2009-06-03 14:40 HumanManagement\HumanManagement\HumanManagement.res
文件 24125 2009-06-03 14:40 HumanManagement\HumanManagement\HumanManagement.vcproj
文件 24061 2008-07-08 19:53 HumanManagement\HumanManagement\HumanManagement.vcproj.8.00.old
文件 1433 2008-07-21 00:07 HumanManagement\HumanManagement\HumanManagement.vcproj.CCNIIT-1224F5D0.yeguoxiong.user
文件 1433 2008-09-26 15:19 HumanManagement\HumanManagement\HumanManagement.vcproj.CCNIIT-69B7CEBD.yeguoxiong.user
文件 1429 2009-03-28 12:55 HumanManagement\HumanManagement\HumanManagement.vcproj.yeguoxiong-PC.yeguoxiong.user
文件 97280 2008-07-02 16:07 HumanManagement\HumanManagement\hummanmagement
文件 1671 2008-07-04 14:52 HumanManagement\HumanManagement\HummanMagement.cpp
............此处省略120个文件信息
- 上一篇:Qt学生管理系统源码
- 下一篇:Collageit拼图软件.安装后即可使用
评论
共有 条评论