blob: 024df48dce4819b72a6b5723a26c10eafffeeed0 (
plain) (
blame)
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
|
#ifndef PVS_SESSIONNAMEWINDOW_H_
#define PVS_SESSIONNAMEWINDOW_H_
#include <QDialog>
namespace Ui
{
class SessionName;
}
class SessionNameWindow : public QDialog
{
Q_OBJECT
private:
Ui::SessionName *ui;
public:
explicit SessionNameWindow(QWidget *parent = nullptr);
~SessionNameWindow() override;
void show(const QString& name);
protected:
void closeEvent(QCloseEvent *e) override;
private slots:
void onOkClicked();
void onGenerateRandomName();
void onDigitDelete();
void onDigitTyped(int);
signals:
void updateSessionName();
};
#endif
|