valentina/dialogs/dialogline.h
2013-08-05 11:37:56 +03:00

34 lines
843 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 ChoosedObject(qint64 id, Scene::Type type);
virtual void DialogAccepted();
private:
Ui::DialogLine *ui;
qint32 number;
qint64 firstPoint;
qint64 secondPoint;
};
#endif // DIALOGLINE_H