blockview updatet

git-svn-id: svn://db.shs.com.ru/libs@9 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2015-04-30 10:46:30 +00:00
parent 49ea507675
commit 56d64571d6
4 changed files with 76 additions and 7 deletions

View File

@@ -153,6 +153,8 @@ public:
QColor color() const {return col;}
void setColor(QColor c) {col = c; _resize(size());}
QSizeF size() const {return g_main.rect().size();}
qreal width() const {return size().width();}
qreal height() const {return size().height();}
void setSize(QSizeF s) {_resize(s);}
void setSize(qreal w, qreal h) {setSize(QSizeF(w, h));}
void setWidth(qreal w) {setSize(QSizeF(w, size().height()));}