Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
M
Mytest_QT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qiu Chuntao
Mytest_QT
Commits
3fc3e1b5
Commit
3fc3e1b5
authored
Sep 22, 2020
by
Qiu Chuntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
216ee255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
userwindow.h
userwindow.h
+46
-0
No files found.
userwindow.h
0 → 100644
View file @
3fc3e1b5
#ifndef USERWINDOW_H
#define USERWINDOW_H
#include <QMainWindow>
#include <showtable.h>
#include <QSqlDatabase>
#include <QInputDialog>
#include <QSqlError>
#include <QMessageBox>
namespace
Ui
{
class
UserWindow
;
}
class
UserWindow
:
public
QMainWindow
{
Q_OBJECT
public
:
explicit
UserWindow
(
QWidget
*
parent
=
0
);
~
UserWindow
();
public
slots
:
void
getdata
(
QSqlDatabase
db1
,
QString
tablename1
);
signals
:
void
sendata
(
QSqlDatabase
,
QString
);
private
slots
:
void
on_usrtable_clicked
();
void
on_find_usr_clicked
();
void
on_delet_usr_clicked
();
void
on_goback_clicked
();
void
on_updata_usr_clicked
();
private
:
Ui
::
UserWindow
*
ui
;
ShowTable
*
table
;
QSqlDatabase
db
;
QString
tablename
;
};
#endif // USERWINDOW_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment