2013-08-28 10:55:11 +02:00
|
|
|
#ifndef DIALOGDETAIL_H
|
|
|
|
#define DIALOGDETAIL_H
|
|
|
|
|
|
|
|
#include "ui_dialogdetail.h"
|
|
|
|
#include "dialogtool.h"
|
2013-09-10 14:29:06 +02:00
|
|
|
#include "container/vcontainer.h"
|
|
|
|
#include "geometry/vdetail.h"
|
2013-08-28 10:55:11 +02:00
|
|
|
|
|
|
|
class DialogDetail : public DialogTool
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit DialogDetail(const VContainer *data, Draw::Mode mode, QWidget *parent = 0);
|
|
|
|
VDetail getDetails() const;
|
|
|
|
void setDetails(const VDetail &value);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void ChoosedObject(qint64 id, Scene::Type type);
|
|
|
|
virtual void DialogAccepted();
|
|
|
|
private:
|
|
|
|
Ui::DialogDetail ui;
|
|
|
|
VDetail details;
|
2013-09-10 14:29:06 +02:00
|
|
|
void NewItem(qint64 id, Tools::Enum typeTool, Draw::Mode mode, NodeDetail::Type typeNode);
|
2013-08-28 10:55:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIALOGDETAIL_H
|