20#ifndef KEXIFLOWLAYOUT_H
21#define KEXIFLOWLAYOUT_H
30 KexiFlowLayout(TQWidget *parent, int border=0, int space=-1, const char *name=0);
31 KexiFlowLayout(TQLayout* parent, int space=-1, const char *name=0);
38 TQPtrList<TQWidget>* widgetList() const;
41 void setOrientation(TQt::Orientation orientation) { m_orientation = orientation; }
44 TQt::Orientation orientation() const { return m_orientation; }
46 void setJustified( bool justify) { m_justify = justify; }
47 bool isJustified() const { return m_justify; }
49 virtual void addItem(TQLayoutItem *item);
50 virtual void addSpacing( int size);
51 virtual TQLayoutIterator iterator();
52 virtual void invalidate();
54 virtual bool hasHeightForWidth() const;
55 virtual int heightForWidth( int width) const;
56 virtual TQSize sizeHint() const;
57 virtual TQSize minimumSize() const;
58 virtual TQSizePolicy::ExpandData expanding() const;
60 virtual bool isEmpty();
63 virtual void setGeometry( const TQRect&);
64 int simulateLayout( const TQRect &r);
65 int doHorizontalLayout( const TQRect&, bool testonly = false);
66 int doVerticalLayout( const TQRect&, bool testonly = false);
69 TQPtrList<TQLayoutItem> m_list;
73 TQt::Orientation m_orientation;
74 TQSize m_cached_sizeHint;
75 TQSize m_cached_minSize;
TQt::Orientation orientation() const
void setOrientation(TQt::Orientation orientation)
|