Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • new-money
  • dev
  • serial
  • plot
  • stast
  • acquisition-dialog
  • multiacc
  • v1.18
  • v1.17.4
  • v1.17.3
  • v1.17.2
  • v1.17.1
  • v1.17
  • v1.16
  • v1.15
  • v1.14.1
  • v1.14
  • v1.13.42
  • v1.13.41
  • v1.13
  • v1.12
  • v1.11
  • v1.10
  • v1.9
  • acquisition
  • v1.8
  • v1.7
28 results

comboboxitemdelegate.h

Blame
  • aboutpage.cpp 1.05 KiB
    #include "aboutpage.h"
    #include "ui_aboutpage.h"
    
    #include <QDateTime>
    #include <QDebug>
    /* Qt6 Introduces QVersion, which is what we really want.
     * Change this when we remove support for Qt5 */
    #include <QtGlobal>
    
    #include "version.h"
    
    AboutPage::AboutPage(QWidget *parent) :
        QWidget(parent),
        ui(new Ui::AboutPage)
    {
        ui->setupUi(this);
    
        ui->version->setText(version());
    
        auto dt = QDateTime::fromString(__DATE__ " " __TIME__, "MMM d yyyy hh:mm:ss");
        ui->buildDate->setText(dt.toString(tr("yyyy-MM-dd hh:mm", "När programmet senast byggdes")));
    
        ui->db_version->setText(QString("%1 (%2)")
                                .arg(get_db_version_raw())
                                .arg(get_db_version()));
    
        ui->qt_build_version->setText(QT_VERSION_STR);
        ui->qt_runtime_version->setText(qVersion());
    
        /* @todo
         * Futher licensing information, including:
         * - License of this product
         * - License of tableprinter
         * - (license of qt?)
         * - (license of VG artwork?)
         */
    }
    
    AboutPage::~AboutPage()
    {
        delete ui;
    }