tools/drawMapTest/mainwindow.h
author Mitchell Kember <mk12360@gmail.com>
Tue, 04 Dec 2012 17:57:18 -0500
branchflibqtfrontend
changeset 8251 81789b027dd7
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Changed uSound.pas so that music will still play if music is enabled and sound is disabled. Effectively, isSoundEnabled represents only sound effects and does not include music (and I have replaced the places where both are concerned with a logical combination of the two). Still need to figure out why isSEBackup is used and if my changes affect it.

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class DrawMapScene;

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
    DrawMapScene * scene;

private slots:
    void on_pbLoad_clicked();
    void on_pbSave_clicked();
    void scene_pathChanged();
};

#endif // MAINWINDOW_H