Chatterino
|
#include <QLayout>
#include <boost/variant.hpp>
Go to the source code of this file.
Namespaces | |
chatterino | |
Typedefs | |
using | chatterino::LayoutItem = boost::variant< QWidget *, QLayoutItem * > |
using | chatterino::WidgetOrLayout = boost::variant< QWidget *, QLayout * > |
Functions | |
QWidget * | chatterino::wrapLayout (QLayout *layout) |
QScrollArea * | chatterino::makeScrollArea (WidgetOrLayout item) |
template<typename T > | |
T * | chatterino::makeLayout (std::initializer_list< LayoutItem > items) |
template<typename T , typename With > | |
T * | chatterino::makeWidget (With with) |