aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
blob: 156df676a12d428d6e81537cf8c12144e3e14fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "mainwindow.h"
#include "./ui_mainwindow.h"

#include <QMessageBox>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    QMetaObject::connectSlotsByName(this);
}

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

void MainWindow::on_actionOpen_triggered(bool checked) {
    QMessageBox msgBox;
    msgBox.setText("It works!");
    msgBox.exec();
}