My Project
mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3 #include <vector>
4 #include <QMainWindow>
5 #include <string>
6 #include <QLabel>
7 #include <QCheckBox>
8 
9 using namespace std;
10 
15 
16 namespace Ui {
17  class MainWindow;
18 }
19 
20 class MainWindow : public QMainWindow
21 {
22  Q_OBJECT
23 
24 public:
25  explicit MainWindow(QWidget *parent = 0);
26  ~MainWindow();
27  vector<char> V;
28 
38  void readPass(const string &pass);
39 
50  void strengthDisplay(string strength, int totalScore);
51 
60  void setNumberOfCharacters(int count, int score) ;
61 
71  void setUpperCharacters(int count, int score) ;
72 
82  void setLowerCharacters(int count, int score) ;
83 
93  void setDigits(int count, int score) ;
94 
104  void setSymbols(int count, int score) ;
105 
115  void setMiddleDigitsOrSymbols(int count, int score) ;
116 
127  void setRequirements(int count, int score) ;
128 
129 
140  void setLettersOnly(int count, int score) ;
141 
152  void setDigitsOnly(int count, int score) ;
153 
163  void setConsecutiveUpper(int count, int score) ;
164 
174  void setConsecutiveLower(int count, int score) ;
175 
185  void setConsecutiveDigits(int count, int score) ;
186 
187 
188 
189 private slots:
190  void on_lineEdit_textChanged(const QString &arg1);
191 
192  void on_HiddenCheckBox_clicked(bool checked);
193 
194 
195 private:
196  Ui::MainWindow *ui;
197 };
198 
199 #endif // MAINWINDOW_H
Definition: mainwindow.h:16
Definition: mainwindow.h:20