diff options
| author | OmniTroid <davidskoland@gmail.com> | 2017-02-14 10:29:36 +0100 |
|---|---|---|
| committer | OmniTroid <davidskoland@gmail.com> | 2017-02-14 10:29:36 +0100 |
| commit | fd1ece1ac196e4584e78b981ba7b3dc7197a7d20 (patch) | |
| tree | a9f8ab31a50aef85e612442689a83fb2fa58c471 /lobby.cpp | |
| parent | 2492c1fbe2d325a194edfe89091b7d1f71783a6b (diff) | |
| parent | 9e601caa568353cbb91b4f6e9b0a7a9159a436ac (diff) | |
Merge branch 'master' of https://github.com/Attorney-Online-Engineering-Task-Force/Attorney-Online-Client-Remake.git
Diffstat (limited to 'lobby.cpp')
| -rw-r--r-- | lobby.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -21,6 +21,7 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow() ui_refresh = new AOButton(this, ao_app); ui_add_to_fav = new AOButton(this, ao_app); ui_connect = new AOButton(this, ao_app); + ui_version = new QLabel(this); ui_about = new AOButton(this, ao_app); ui_server_list = new QListWidget(this); ui_player_count = new QLabel(this); @@ -75,6 +76,9 @@ void Lobby::set_widgets() ui_connect->set_image("connect.png"); set_size_and_pos(ui_connect, "connect"); + ui_version->setText("Version: " + ao_app->get_version_string()); + set_size_and_pos(ui_version, "version"); + ui_about->set_image("about.png"); set_size_and_pos(ui_about, "about"); @@ -95,7 +99,7 @@ void Lobby::set_widgets() set_size_and_pos(ui_chatbox, "chatbox"); ui_chatbox->setReadOnly(true); - ui_chatbox->setStyleSheet("background-color: rgba(0, 0, 0, 0);"); + ui_chatbox->setStyleSheet("QPlainTextEdit{background-color: rgba(0, 0, 0, 0);}"); set_size_and_pos(ui_chatname, "chatname"); ui_chatname->setStyleSheet("background-color: rgba(0, 0, 0, 0);" |
