diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 601caa2..e69db4b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -7,7 +7,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi lolaa(conf.getConfig(), dd, std::bind(&MainWindow::onFail, this), std::bind(&MainWindow::onPosChange, this, std::placeholders::_1)) { ui->setupUi(this); - ui->versionLabel->setText(tr("Version: %1").arg(LOLAA_VERSION)); + ui->copyrightlabel->setText(ui->copyrightlabel->text().arg(LOLAA_VERSION)); lolaa.setOnRuneChangeFunc(std::bind(&RuneDisplay::setRunes, ui->runedisplay, std::placeholders::_1)); diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui index 918eefa..75af940 100644 --- a/ui/mainwindow.ui +++ b/ui/mainwindow.ui @@ -6,8 +6,8 @@ 0 0 - 482 - 629 + 550 + 633 @@ -31,7 +31,7 @@ 0 0 - 475 + 541 581 @@ -54,23 +54,6 @@ 9 - - - - Mainswitch - - - - - - - Write a Text as soon as you are in a champ select lobby. - - - Auto Write - - - @@ -84,69 +67,6 @@ - - - - - - - Enable LoL-Auto-Accept - - - - - - - Developed by MrBesen - - - Qt::PlainText - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 0 - 0 - - - - - 16777215 - 80 - - - - - 0 - 0 - - - - Qt::WheelFocus - - - QFrame::Sunken - - - QTextEdit::NoWrap - - - false - - - Qt::LinksAccessibleByMouse|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - autowriteText - - - @@ -220,16 +140,83 @@ - - + + + + + 0 + 0 + + + + + 16777215 + 80 + + + + + 0 + 0 + + + + Qt::WheelFocus + + + QFrame::Sunken + + + QTextEdit::NoWrap + + + false + + + Qt::LinksAccessibleByMouse|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + autowriteText + + + + + + + Write a Text as soon as you are in a champ select lobby. + - <a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a> + Auto Write + + + + + + + Enable LoL-Auto-Accept + + + + + + + Mainswitch + + + + + + + Qt::NoContextMenu + + + <html><head/><body><p>Developed by MrBesen</p><p><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases"><span style=" text-decoration: underline; color:#007af4;">Webseite</span></a></p><p>Version: %1</p></body></html> Qt::RichText - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing true @@ -239,18 +226,8 @@ - - - - Version: - - - Qt::PlainText - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - + + @@ -260,7 +237,7 @@ 0 0 - 482 + 550 24