← index
emx/editor/pref_window.hpp
Source: emx/editor/pref_window.hpp
#ifndef _PREF_WINDOW_H_
#define _PREF_WINDOW_H_


#include<QDialog>
#include<QLabel>
#include<QLineEdit>
#include<QPushButton>
#include<QSpinBox>

class MainWindow;

class PrefWindow : public QDialog {
    Q_OBJECT
public:
    PrefWindow(QWidget *parent = 0);
    void setMainWindow(MainWindow *m);
    void setMaxSize(int sx, int sy);
public slots:
    void saveDetails();
    
protected:
    MainWindow *main_window;

    QSpinBox *pref_pen_w, *pref_pen_h;
    QPushButton *pref_save;
};




#endif