blockview updatet
git-svn-id: svn://db.shs.com.ru/libs@9 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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()));}
|
||||
|
||||
Reference in New Issue
Block a user