30 #include <QDesktopServices>
31 #include <QMessageBox>
35 #include "../options.h"
36 #include "../core/vapplication.h"
37 #include "../fervor/fvupdater.h"
38 #include "../vwidgets/calculator/calculator.h"
40 #include "ui_calculator_dialog.h"
41 #include "../version.h"
47 , isInitialized(false)
52 setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
53 setWindowIcon(QIcon(
"://icon/32x32/calculator.png"));
55 ui->calculatorLayout->addWidget(
calc);
67 QDialog::showEvent( event );
68 if ( event->spontaneous() )
CalculatorDialog(QWidget *parent=nullptr)
virtual ~CalculatorDialog()
virtual void showEvent(QShowEvent *event) Q_DECL_OVERRIDE
Ui::CalculatorDialog * ui