aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/mdbviz/mainwindow.h
blob: 9aa9fcfda1a8c35243eb603f3e34ee95cec4f1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef MainWindow_DEFINED
#define MainWindow_DEFINED

#include <QMainWindow>

class QLabel;

class MainWindow : public QMainWindow {
    Q_OBJECT

public:
    MainWindow();

private slots:
    void openFile();

private:
    void loadFile(const QString &fileName);

    void createActions();
    void createStatusBar();
    void readSettings();
    void writeSettings();

    QImage  fImage;
    QLabel* fImageLabel;
};

#endif