Show FlowLayout.h syntax highlighted
#ifndef __FLOWLAYOUT_H__
#define __FLOWLAYOUT_H__ 1
#include <QtGui/QLayout>
#include <QtCore/QRect>
#include <QtGui/QWidgetItem>
namespace osgDesigner
{
class FlowLayout : public QLayout
{
Q_OBJECT
public:
FlowLayout(QWidget *parent, int margin = 0, int spacing = -1);
FlowLayout(int spacing = -1);
~FlowLayout();
void addItem(QLayoutItem *item);
Qt::Orientations expandingDirections() const;
bool hasHeightForWidth() const;
int heightForWidth(int) const;
int count() const;
QLayoutItem* itemAt(int index) const;
QSize minimumSize() const;
void setGeometry(const QRect &rect);
QSize sizeHint() const;
QLayoutItem* takeAt(int index);
private:
int doLayout(const QRect &rect, bool testOnly) const;
QList<QLayoutItem *> itemList;
};
}
#endif // ** __FLOWLAYOUT_H__ ** //
See more files for this project here