tools/hwmap2txt/hwmapconverter/mainwindow.h
author Wuzzy <Wuzzy2@mail.ru>
Wed, 25 Oct 2017 23:09:41 +0200
changeset 12763 ad67a3804981
parent 11015 7a905f0070ce
permissions -rw-r--r--
Fix sometimes ammo schemes not being saved after changing before an ammo scheme got deleted in session This was because the bool isDeleting is not initialized, so its initial value is unpredictable. Which means there's chance it starts with true, confusing the frontend.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11015
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     1
#ifndef MAINWINDOW_H
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     2
#define MAINWINDOW_H
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     3
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     4
#include <QMainWindow>
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     5
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     6
namespace Ui {
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     7
class MainWindow;
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     8
}
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     9
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    10
class MainWindow : public QMainWindow
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    11
{
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    12
    Q_OBJECT
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    13
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    14
public:
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    15
    explicit MainWindow(QWidget *parent = 0);
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    16
    ~MainWindow();
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    17
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    18
private slots:
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    19
    void on_pbLoad_clicked();
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    20
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    21
    void on_pbSave_clicked();
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    22
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    23
private:
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    24
    Ui::MainWindow *ui;
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    25
};
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    26
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    27
#endif // MAINWINDOW_H