21 #include <unity/util/DefinesPtrs.h>
23 #include <QtCore/QVariant>
24 #include <QtCore/QVector>
37 class QColumnLayoutImpl;
38 class QPreviewReplyImpl;
94 int size()
const noexcept;
108 QVector<QString>
column(
int index)
const;
111 QVariantMap serialize()
const;
117 std::unique_ptr<internal::QColumnLayoutImpl> p;
118 friend class internal::QColumnLayoutImpl;
119 friend class internal::QPreviewReplyImpl;
127 typedef QList<QColumnLayout> QColumnLayoutList;
Definition: HttpAsyncReader.h:45
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.
Top-level namespace for all things Unity-related.
Definition: Version.h:49
QVector< QString > column(int index) const
Retrieve the list of widgets for given column.
Definition: ActionMetadata.h:31
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:51