From ce48943e374c4c8e214feabd1bb6e8b85f82adb1 Mon Sep 17 00:00:00 2001 From: likeawindrammer <31085911+likeawindrammer@users.noreply.github.com> Date: Fri, 28 Aug 2020 08:48:06 -0600 Subject: [PATCH] GUI: Add server initial server tab --- resource/forms/akashimain.ui | 559 ++++++++++++++++++++++++++++++++++- 1 file changed, 555 insertions(+), 4 deletions(-) diff --git a/resource/forms/akashimain.ui b/resource/forms/akashimain.ui index 1a0de67..e664a95 100644 --- a/resource/forms/akashimain.ui +++ b/resource/forms/akashimain.ui @@ -2,19 +2,570 @@ AkashiMain + + true + 0 0 - 800 - 600 + 640 + 480 + + + Ubuntu + + AkashiMain - - + + Qt::LeftToRight + + + background-color: rgb(240, 240, 240); + + + QTabWidget::Rounded + + + + + true + + + + + + + false + + + 0 + + + + + 0 + 0 + + + + Qt::LeftToRight + + + + + + Server + + + + 0 + + + 9 + + + + + true + + + + 0 + 0 + + + + + 22 + + + + Qt::LeftToRight + + + false + + + background-color: rgb(45, 57, 67); +color: rgb(240, 240, 240); +padding: 16px 3px 16px 3px; +border-top-left-radius: 3px; +border-top-right-radius: 3px; + + + Server name + + + Qt::AlignCenter + + + + + + + + 0 + 0 + + + + + 18 + + + + color: rgb(240, 240, 240); +background-color: rgb(246, 36, 81); +padding: 12px 18px 12px 18px; +border-bottom-left-radius: 3px; +border-bottom-right-radius: 3px; + + + Offline + + + Qt::AlignCenter + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 0 + 24 + + + + + + + + 0 + + + QLayout::SetDefaultConstraint + + + 0 + + + 0 + + + 0 + + + 0 + + + + + true + + + + 0 + 0 + + + + + 20 + + + + Qt::LeftToRight + + + false + + + QPushButton { + border: none; + border-radius: 2px; + background-color: rgb(31, 215, 141); + color: rgb(240, 240, 240); + padding: 20px 30px 20px 30px; +} + +QPushButton:pressed { + background-color: rgb(72, 240, 164); +} + +QPushButton:flat { + border: none; /* no border for a flat push button */ +} + + + Start + + + false + + + + + + + + + Qt::Vertical + + + QSizePolicy::MinimumExpanding + + + + 20 + 40 + + + + + + + + 0 + + + + + Qt::Horizontal + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + + 11 + + + + background-color: rgb(45, 57, 67); +color: rgb(240, 240, 240); +/*padding: 16px 3px 16px 3px;*/ +padding: 3px 8px 3px 8px; +border-top-left-radius: 3px; +border-bottom-left-radius: 3px; + + + Master Server connection status: + + + + + + + + 0 + 0 + + + + + 12 + + + + color: rgb(240, 240, 240); +background-color: rgb(246, 36, 81); +border-top-right-radius: 3px; +border-bottom-right-radius: 3px; +padding: 3px 8px 3px 8px; + + + Not connected + + + + + + + Qt::Horizontal + + + QSizePolicy::MinimumExpanding + + + + 0 + 0 + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 0 + 24 + + + + + + + + 6 + + + QLayout::SetDefaultConstraint + + + 0 + + + 0 + + + + + 0 + + + QLayout::SetDefaultConstraint + + + + + + 0 + 0 + + + + + 12 + + + + color: rgb(240, 240, 240); +background-color: rgb(43, 135, 211); +padding: 3px 8px 3px 8px; +border-top-left-radius: 2px; +border-top-right-radius: 2px; + + + QFrame::NoFrame + + + QFrame::Plain + + + Players + + + Qt::AlignCenter + + + false + + + + + + + + 0 + 0 + + + + + 14 + + + + color: rgb(240, 240, 240); +background-color: rgb(45, 57, 67); +padding: 4px 8px 4px 8px; +border-top-right-radius: 2px; +border-bottom-left-radius: 2px; +border-bottom-right-radius: 2px; + + + 0/100 + + + Qt::AlignCenter + + + + + + + + + 0 + + + + + + 0 + 0 + + + + + 12 + + + + color: rgb(240, 240, 240); +background-color: rgb(43, 135, 211); +padding: 3px 8px 3px 8px; +border-top-left-radius: 2px; +border-top-right-radius: 2px; + + + Software + + + Qt::AlignCenter + + + + + + + + 14 + + + + color: rgb(240, 240, 240); +background-color: rgb(45, 57, 67); +padding: 4px 8px 4px 8px; +border-top-right-radius: 2px; +border-bottom-left-radius: 2px; +border-bottom-right-radius: 2px; + + + Akashi + + + Qt::AlignCenter + + + + + + + + + 0 + + + + + + 0 + 0 + + + + + 12 + + + + color: rgb(240, 240, 240); +background-color: rgb(43, 135, 211); +padding: 3px 8px 3px 8px; +border-top-left-radius: 2px; +border-top-right-radius: 2px; + + + Version + + + Qt::AlignCenter + + + + + + + + 14 + + + + color: rgb(240, 240, 240); +background-color: rgb(45, 57, 67); +padding: 4px 8px 4px 8px; +border-top-right-radius: 2px; +border-bottom-left-radius: 2px; +border-bottom-right-radius: 2px; + + + 0.0.1 + + + Qt::AlignCenter + + + + + + + + + + + + Options + + + + + + + + + + 0 + 0 + 640 + 22 + + +