-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadprog.h
73 lines (63 loc) · 1.5 KB
/
adprog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* File: adprog.h
* Author: Will Flores
* Usage: Implemented by adprog.cpp
* Description: This file defines the functions and layout of the graphical
* user interface that uses the AD program API to import users.
* Environment: Windows 7, 64 bit build
* Notes:
* Revisions: NONE
*
* Created on January 19, 2012, 10:42 AM
*/
#ifndef ADPROG_H
#define ADPROG_H
#include <QWidget> /* For Gui */
#include "userattrib.h" /* The ADprogram API */
#include "editUsers.h"
#include "addusers.h"
/* Widgets for GUI */
class QLabel;
class QLineEdit;
class QPushButton;
class QTextEdit;
class QHBoxLayout;
class QVBoxLayout;
class QGridLayout;
class QCheckBox;
class ImportUsers;
class EditUsers;
class AddUsers;
/* GUI Class */
class ImportUsers : public QWidget {
Q_OBJECT
public:
ImportUsers(QWidget *parent = 0);
userList people;
public slots:
void loadFromFile();
QString saveToFile();
int settingsFile();
void importToAD();
void addUserPerson();
void deleteUserList();
void buttonStub();
void editPerson();
userList dispPersonList();
private:
QString versionNum;
QHBoxLayout *navLayout;
QLabel *progTitle;
QPushButton *addUser;
QPushButton *delUsers;
QPushButton *editUser;
QPushButton *exportFile;
QPushButton *importUsers;
QPushButton *loadFile;
QPushButton *options;
QVBoxLayout *fileLayout;
QVBoxLayout *recordLayout;
EditUsers *edit_GUI;
AddUsers *add_GUI;
};
#endif /* ADPROG_H */