-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
73 lines (65 loc) · 2.19 KB
/
mainwindow.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
73
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <vector>
#include <random>
#include <QCheckBox>
#include <QString>
#include <QWidget>
#include <QClipboard>
#include <QApplication>
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
char* createPassword(int len, int comp);
void updateSymbols(bool checked, char symbol);
private slots:
void on_PassLengthSlider_sliderMoved(int position);
void on_PassCompSlider_sliderMoved(int position);
void on_GenPass_clicked();
void on_CopyButton_clicked();
void on_checkBox_29_stateChanged(int arg1);
void on_checkBox_30_stateChanged(int arg1);
void on_checkBox_31_stateChanged(int arg1);
void on_checkBox_32_stateChanged(int arg1);
void on_checkBox_33_stateChanged(int arg1);
void on_checkBox_34_stateChanged(int arg1);
void on_checkBox_35_stateChanged(int arg1);
void on_checkBox_36_stateChanged(int arg1);
void on_checkBox_37_stateChanged(int arg1);
void on_checkBox_38_stateChanged(int arg1);
void on_checkBox_39_stateChanged(int arg1);
void on_checkBox_40_stateChanged(int arg1);
void on_checkBox_41_stateChanged(int arg1);
void on_checkBox_42_stateChanged(int arg1);
void on_checkBox_43_stateChanged(int arg1);
void on_checkBox_44_stateChanged(int arg1);
void on_checkBox_45_stateChanged(int arg1);
void on_checkBox_46_stateChanged(int arg1);
void on_checkBox_47_stateChanged(int arg1);
void on_checkBox_48_stateChanged(int arg1);
void on_checkBox_49_stateChanged(int arg1);
void on_checkBox_50_stateChanged(int arg1);
void on_checkBox_51_stateChanged(int arg1);
void on_checkBox_52_stateChanged(int arg1);
void on_checkBox_53_stateChanged(int arg1);
void on_checkBox_54_stateChanged(int arg1);
void on_checkBox_55_stateChanged(int arg1);
void on_checkBox_56_stateChanged(int arg1);
private:
Ui::MainWindow *ui;
int *_passLength;
int *_passComp;
std::vector<char> *_letters;
std::vector<char> *_numbers;
std::vector<char> *_symbols;
};
#endif // MAINWINDOW_H