mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 00:19:55 +02:00
about dialog
This commit is contained in:
@@ -21,16 +21,18 @@ public:
|
||||
m_aboutDialog->setupUi(this);
|
||||
|
||||
//it was the "init" method of AboutDialog_q:
|
||||
m_aboutDialog->titleLbl->setText( QString("Firewall Builder v%1").arg(VERSION) );
|
||||
m_aboutDialog->revLbl->setText( tr("Revision: %1 ( Build: %2 )").arg(RELEASE_NUM).arg(BUILD_NUM) );
|
||||
m_aboutDialog->titleLbl->setText(
|
||||
QString("Firewall Builder v%1").arg(VERSION) );
|
||||
m_aboutDialog->revLbl->setText(
|
||||
tr("Revision: %1 ( Build: %2 )").arg(RELEASE_NUM).arg(BUILD_NUM) );
|
||||
|
||||
m_aboutDialog->apiLbl->setText( tr("Using Firewall Builder API %1").arg(libfwbuilder::Constants::getLibraryVersion().c_str() ) );
|
||||
m_aboutDialog->apiLbl->setText(
|
||||
tr("Using Firewall Builder API %1").arg(
|
||||
libfwbuilder::Constants::getLibraryVersion().c_str() ) );
|
||||
|
||||
#ifdef ELC
|
||||
// TODO(vadim): add UI element to print 'Registered' or 'Unregistered'
|
||||
// to the About dialog.
|
||||
//if (registered) reg->setText(tr("Registered"));
|
||||
//else reg->setText(tr("Unregistered"));
|
||||
if (registered) m_aboutDialog->reg->setText(tr("Registered"));
|
||||
else m_aboutDialog->reg->setText(tr("Unregistered"));
|
||||
#endif
|
||||
|
||||
setWindowTitle(QString("Firewall Builder: About..."));
|
||||
|
||||
Reference in New Issue
Block a user