Michaël Lemaire
4daf92f3dd
paysages : Started material editor dialog (WIP). git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@331 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
26 lines
530 B
C++
26 lines
530 B
C++
#ifndef _PAYSAGES_QT_DIALOGMATERIAL_H_
|
|
#define _PAYSAGES_QT_DIALOGMATERIAL_H_
|
|
|
|
#include <QDialog>
|
|
#include <QListWidget>
|
|
#include "basepreview.h"
|
|
#include "formmaterial.h"
|
|
|
|
#include "../lib_paysages/shared/types.h"
|
|
|
|
class DialogMaterial : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DialogMaterial(QWidget* parent, SurfaceMaterial* material);
|
|
static bool getMaterial(QWidget* parent, SurfaceMaterial* material);
|
|
|
|
public slots:
|
|
virtual void accept();
|
|
void revert();
|
|
|
|
private:
|
|
FormMaterial* _form;
|
|
};
|
|
|
|
#endif
|