Skip to content
mainwindow.h 1.33 KiB
Newer Older
raoul's avatar
raoul committed
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class OE_interfaceDisplay;

class MainWindow : public QMainWindow
{
raoul's avatar
raoul committed
	Q_OBJECT
raoul's avatar
raoul committed

public:
raoul's avatar
raoul committed
	explicit MainWindow(QWidget *parent = 0);
	~MainWindow();
raoul's avatar
raoul committed
	void keyPressEvent(QKeyEvent* event);
	void keyReleaseEvent(QKeyEvent* event);
raoul's avatar
raoul committed
	OE_interfaceDisplay* getItfDisplay();
	void sendKeyPulse(Qt::Key key, Qt::KeyboardModifiers modifiers);
raoul's avatar
raoul committed

private slots:

	void on_tabWidget_tabCloseRequested(int index);

	void on_actionNew_triggered();

	void on_actionClose_triggered();

	void on_actionOpen_triggered();

	void on_actionSave_triggered();

	void on_actionLine_triggered();

	void on_actionUndo_triggered();

	void on_actionRedo_triggered();

	void on_actionBirail_triggered();

	void on_actionPattern1_triggered();
	void on_actionPattern2_triggered();
	void on_actionPattern3_triggered();
	void on_actionPattern4_triggered();
	void on_actionPattern5_triggered();
	void on_actionPattern6_triggered();
	void on_actionPattern7_triggered();
	void on_actionPattern8_triggered();
	void on_actionPattern9_triggered();

	void on_tabWidget_currentChanged(int index);

	void on_actionCloseCurve_triggered();

	void on_actionReverse_curve_R_triggered();

	void on_actionFill_triggered();

	private:
raoul's avatar
raoul committed
	Ui::MainWindow *ui;
raoul's avatar
raoul committed
};

#endif // MAINWINDOW_H