-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdialog.h
More file actions
executable file
·37 lines (31 loc) · 837 Bytes
/
dialog.h
File metadata and controls
executable file
·37 lines (31 loc) · 837 Bytes
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
#ifndef DIALOG_H
#define DIALOG_H
#include <QLineEdit>
#include <QDialog>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = nullptr);
~Dialog();
void keyPressEvent(QKeyEvent *event) override;
private:
Ui::Dialog *ui;
void shakeLineEdit(QLineEdit *lineEdit);
bool chekDirName = false;
signals:
void signal_RUN_CREATE(const QString &typeImage, const QString &dir, const QString &nameF, const long bs);
public slots:
void slot_CreateWindow();
private slots:
void on_toolButton_clicked();
void on_CreateButtonRun_clicked();
void on_Close_clicked();
void on_lineEdit_textChanged(const QString &text);
//void on_name_file_textChanged(const QString &text);
void on_spinBox_editingFinished();
};
#endif // DIALOG_H