1 #ifndef TEXTMESSAGEPREDEFINEDANSWERSLAYOUT_H
2 #define TEXTMESSAGEPREDEFINEDANSWERSLAYOUT_H
15 void addItem( QLayoutItem *item )
override;
21 int count()
const override;
22 QLayoutItem *
itemAt(
int index )
const override;
26 QLayoutItem *
takeAt(
int index )
override;
31 int doLayout(
const QRect &rect,
bool testOnly )
const;
32 int smartSpacing( QStyle::PixelMetric pm )
const;
35 QScopedPointer<DataClass> d;
40 #endif // TEXTMESSAGEPREDEFINEDANSWERSLAYOUT_H
Definition: TextMessagePredefinedAnswersLayout.h:8
void addItem(QLayoutItem *item) override
Definition: TextMessagePredefinedAnswersLayout.cpp:43
QSize minimumSize() const override
Definition: TextMessagePredefinedAnswersLayout.cpp:95
int horizontalSpacing() const
Definition: TextMessagePredefinedAnswersLayout.cpp:48
TextMessagePredefinedAnswersLayout(QWidget *parent, int hMargin=-1, int vMargin=-1, int spacing=-1)
Definition: TextMessagePredefinedAnswersLayout.cpp:21
~TextMessagePredefinedAnswersLayout()
Definition: TextMessagePredefinedAnswersLayout.cpp:34
QLayoutItem * itemAt(int index) const override
Definition: TextMessagePredefinedAnswersLayout.cpp:90
QSize sizeHint() const override
Definition: TextMessagePredefinedAnswersLayout.cpp:116
Qt::Orientations expandingDirections() const override
Definition: TextMessagePredefinedAnswersLayout.cpp:68
int verticalSpacing() const
Definition: TextMessagePredefinedAnswersLayout.cpp:58
void setGeometry(const QRect &rect) override
Definition: TextMessagePredefinedAnswersLayout.cpp:110
bool hasHeightForWidth() const override
Definition: TextMessagePredefinedAnswersLayout.cpp:73
int count() const override
Definition: TextMessagePredefinedAnswersLayout.cpp:85
int heightForWidth(int width) const override
Definition: TextMessagePredefinedAnswersLayout.cpp:78
QLayoutItem * takeAt(int index) override
Definition: TextMessagePredefinedAnswersLayout.cpp:121