QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QGraphicsLayoutItem.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QGRAPHICSLAYOUTITEM_H
2 #define QTSCRIPTSHELL_QGRAPHICSLAYOUTITEM_H
3 
4 #include <qgraphicslayoutitem.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QGraphicsLayoutItem : public QGraphicsLayoutItem
9 {
10 public:
11  QtScriptShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false);
13 
14  void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
15  void setGeometry(const QRectF& rect);
16  QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
17  void updateGeometry();
18 
19  QScriptValue __qtscript_self;
20 };
21 
22 #endif // QTSCRIPTSHELL_QGRAPHICSLAYOUTITEM_H