valentina_old/dialogs/dialogsinglepoint.h
2013-07-28 01:18:06 +03:00

30 lines
782 B
C++

#ifndef DIALOGSINGLEPOINT_H
#define DIALOGSINGLEPOINT_H
#include "dialogtool.h"
#include "../container/vcontainer.h"
namespace Ui {
class DialogSinglePoint;
}
class DialogSinglePoint : public DialogTool
{
Q_OBJECT
public:
explicit DialogSinglePoint(const VContainer *data, QWidget *parent = 0);
void setData(const QString name, const QPointF point);
QString getName()const;
QPointF getPoint()const;
~DialogSinglePoint();
public slots:
void mousePress(QPointF scenePos);
virtual void DialogAccepted();
private:
Ui::DialogSinglePoint *ui;
QString name;
QPointF point;
};
#endif // DIALOGSINGLEPOINT_H