summaryrefslogblamecommitdiffstats
path: root/src/server/sessionnamewindow/sessionnamewindow.h
blob: 024df48dce4819b72a6b5723a26c10eafffeeed0 (plain) (tree)
1
2
3
4
5
6
7

                                
 
                  
 

            




                                        
                

        
                            

       

                                                              
 
                                       

          
                                                 



                                    


                               







                                 
#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