back to polygonf
git-svn-id: svn://db.shs.com.ru/libs@7 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -198,6 +198,8 @@ public:
|
||||
QWidget * viewport() const {return canvas;}
|
||||
QByteArray save();
|
||||
void load(QByteArray ba);
|
||||
void lock() {mutex_.lock();}
|
||||
void unlock() {mutex_.unlock();}
|
||||
|
||||
void reset() {mutex.lock(); clear(); mutex.unlock();}
|
||||
|
||||
@@ -336,7 +338,7 @@ protected:
|
||||
QString pointCoords(QPointF point) {return "(" + QString::number(point.x(), 'f', 3) + " ; " + QString::number(point.y(), 'f', 3) + ")";}
|
||||
|
||||
Ui::Graphic * ui;
|
||||
QMutex mutex;
|
||||
QMutex mutex, mutex_;
|
||||
QWidget * canvas;
|
||||
QImage * buffer;
|
||||
QPainter * painter;
|
||||
|
||||
Reference in New Issue
Block a user