configdatetimedlg.cpp 616 Bytes
#include "configdatetimedlg.h"
#include "ui_configdatetimedlg.h"

ConfigDateTimeDlg::ConfigDateTimeDlg(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ConfigDateTimeDlg)
{
    ui->setupUi(this);
    this->setWindowFlags( Qt::FramelessWindowHint);
    this->setAttribute( Qt::WA_DeleteOnClose);
    ui->ctrSpBxYear->setFormatterWidth(4);
}

ConfigDateTimeDlg::~ConfigDateTimeDlg()
{
    delete ui;
}

void ConfigDateTimeDlg::on_ctrBtnOk_clicked()
{
    this->accept();
}

void ConfigDateTimeDlg::on_spinBox_valueChanged(int arg1)
{

}

void ConfigDateTimeDlg::on_ctrBtnCancel_clicked()
{
    this->reject();
}