mirror of https://github.com/CGAL/cgal
41 lines
558 B
C++
41 lines
558 B
C++
#ifndef MAIN_WINDOW_H
|
|
#define MAIN_WINDOW_H
|
|
|
|
#include "typedefs.h"
|
|
#include "ui_MainWindow.h"
|
|
#include <CGAL/Qt/DemosMainWindow.h>
|
|
#include <QSlider>
|
|
#include <QFileDialog>
|
|
class QWidget;
|
|
|
|
|
|
|
|
|
|
class MainWindow : public CGAL::Qt::DemosMainWindow, private Ui::MainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget* parent = 0);
|
|
|
|
void connectActions();
|
|
|
|
|
|
Scene scene;
|
|
Timer timer;
|
|
|
|
public slots:
|
|
void open(const QString& fileName);
|
|
void open_file();
|
|
void alphaChanged(int i);
|
|
|
|
signals:
|
|
void sceneChanged();
|
|
void alphaChanged();
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|