QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QGraphicsAnchorLayout.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QGRAPHICSANCHORLAYOUT_H
2 #define QTSCRIPTSHELL_QGRAPHICSANCHORLAYOUT_H
3 
4 #include <qgraphicsanchorlayout.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout
9 {
10 public:
11  QtScriptShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = 0);
13 
14  int count() const;
15  void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
16  void invalidate();
17  QGraphicsLayoutItem* itemAt(int index) const;
18  void removeAt(int index);
19  void setGeometry(const QRectF& rect);
20  QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
21  void updateGeometry();
22  void widgetEvent(QEvent* e);
23 
24  QScriptValue __qtscript_self;
25 };
26 
27 #endif // QTSCRIPTSHELL_QGRAPHICSANCHORLAYOUT_H