Center user info dialog on the screen
This commit is contained in:
parent
12bc7d4131
commit
cd998d1c35
3 changed files with 12 additions and 1 deletions
|
|
@ -61,10 +61,15 @@ class MainWindow : public QMainWindow
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(int x READ x)
|
||||
Q_PROPERTY(int y READ y)
|
||||
Q_PROPERTY(int width READ width)
|
||||
Q_PROPERTY(int height READ height)
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
|
||||
static MainWindow *instance() { return instance_; };
|
||||
static MainWindow *instance() { return instance_; }
|
||||
void saveCurrentWindowSize();
|
||||
|
||||
void openLeaveRoomDialog(const QString &room_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue