about dialog

This commit is contained in:
SVN User
2008-07-14 23:24:43 +00:00
parent 41c41dd8d5
commit 01a9206030
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1 +1 @@
#define BUILD_NUM 357
#define BUILD_NUM 360
+9 -7
View File
@@ -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..."));