21 #include <unity/util/DefinesPtrs.h>
23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
25 #include <QtCore/QVariant>
26 #pragma GCC diagnostic pop
27 #include <QtCore/QVector>
40 class QColumnLayoutImpl;
41 class QPreviewReplyImpl;
97 int size()
const noexcept;
111 QVector<QString>
column(
int index)
const;
114 QVariantMap serialize()
const;
120 std::unique_ptr<internal::QColumnLayoutImpl> p;
121 friend class internal::QColumnLayoutImpl;
122 friend class internal::QPreviewReplyImpl;
130 typedef QList<QColumnLayout> QColumnLayoutList;
int number_of_columns() const noexcept
Get the number of columns expected by this layout as specified in the constructor.
int size() const noexcept
Get the current number of columns in this layout.
Definition: HttpAsyncReader.h:39
QVector< QString > column(int index) const
Retrieve the list of widgets for given column.
void add_column(QVector< QString > widget_ids)
Adds a new column and assigns widgets to it.
QColumnLayout(int num_of_columns)
Creates a layout definition that expects num_of_columns columns to be added with ColumnLayout::add_co...
Represents a column layout.
Definition: QColumnLayout.h:54