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

34 lines
842 B
C++

#ifndef DIALOGLINE_H
#define DIALOGLINE_H
#include "dialogtool.h"
#include "../container/vcontainer.h"
#include "../options.h"
#include <QComboBox>
namespace Ui {
class DialogLine;
}
class DialogLine : public DialogTool
{
Q_OBJECT
public:
explicit DialogLine(const VContainer *data, QWidget *parent = 0);
~DialogLine();
qint64 getFirstPoint() const;
void setFirstPoint(const qint64 &value);
qint64 getSecondPoint() const;
void setSecondPoint(const qint64 &value);
public slots:
void ChoosedPoint(qint64 id, Scene::Type type);
virtual void DialogAccepted();
private:
Ui::DialogLine *ui;
qint32 number;
qint64 firstPoint;
qint64 secondPoint;
};
#endif // DIALOGLINE_H