Skip to content

Commit

Permalink
About box update
Browse files Browse the repository at this point in the history
  • Loading branch information
nzeemin committed Jan 2, 2024
1 parent 4d0f908 commit 4496b7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions emulator/qdialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,23 @@ QAboutDialog::QAboutDialog(QWidget * parent)
{
setWindowTitle(tr("About"));

m_topLabel.setText(tr("BKBTL Qt Version 1.0\nCopyright (C) 2009-2023"));
m_linkLabel.setText(tr("<a href=\"https://github.com/nzeemin/bkbtl-qt\">https://github.com/nzeemin/bkbtl-qt</a>"));
m_topLabel.setText(tr("BKBTL Qt Version 1.0\nCopyright (C) 2009-2024"));
m_authorsLabel.setText(tr("Author:\r\nNikita Zimin (nzeemin@gmail.com)"));
m_thanksLabel.setText(tr("Special thanks to:\nAlexey Kisly"));
m_linkLabel.setText(tr("<a href=\"https://github.com/nzeemin/bkbtl-qt\">https://github.com/nzeemin/bkbtl-qt</a>"));
m_disclaimerLabel.setText(tr("This program is provided by authors and contributors AS IS, with absolutely no warranty of any kind. Please use it on your own risk."));
m_bottomLabel.setText(tr("Build date:\t%1 %2\nQt version:\t%3").arg(__DATE__).arg(__TIME__).arg(QT_VERSION_STR));

m_linkLabel.setOpenExternalLinks(true);
m_disclaimerLabel.setWordWrap(true);

setMinimumSize(260, 320);
setMinimumSize(420, 320);

m_layout.addWidget(&m_topLabel);
m_layout.addWidget(&m_linkLabel);
m_layout.addWidget(&m_authorsLabel);
m_layout.addWidget(&m_thanksLabel);
m_layout.addWidget(&m_linkLabel);
m_layout.addWidget(&m_disclaimerLabel);
m_layout.addWidget(&m_bottomLabel);
m_buttons.setStandardButtons(QDialogButtonBox::Ok);
QObject::connect(&m_buttons, SIGNAL(accepted()), this, SLOT(accept()));
Expand Down
1 change: 1 addition & 0 deletions emulator/qdialogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class QAboutDialog : public QDialog
QLabel m_linkLabel;
QLabel m_authorsLabel;
QLabel m_thanksLabel;
QLabel m_disclaimerLabel;
QLabel m_bottomLabel;
QDialogButtonBox m_buttons;
};
Expand Down

0 comments on commit 4496b7b

Please # to comment.