forked from qt-creator/qt-creator
Utils: Make Layouting a top level namespace
The whole machinery is now almost only layoutbuilder.{h,cpp},
mostly independent of the rest of Utils. Idea is to finish the
separation to make it stand-alone usable also outside creator.
Change-Id: I958aa667d17ae26b21209f22412309c5307a579c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <QStyle>
|
||||
#include <QTabWidget>
|
||||
|
||||
namespace Utils::Layouting {
|
||||
namespace Layouting {
|
||||
|
||||
/*!
|
||||
\enum Utils::LayoutBuilder::LayoutType
|
||||
@@ -464,7 +464,7 @@ TabWidget::TabWidget(QTabWidget *tabWidget, std::initializer_list<Tab> tabs)
|
||||
|
||||
// "Properties"
|
||||
|
||||
LayoutItem::Setter title(const QString &title, BoolAspect *checker)
|
||||
LayoutItem::Setter title(const QString &title, Utils::BoolAspect *checker)
|
||||
{
|
||||
return [title, checker](QObject *target) {
|
||||
if (auto groupBox = qobject_cast<QGroupBox *>(target)) {
|
||||
@@ -528,4 +528,4 @@ Stretch st;
|
||||
Space empty(0);
|
||||
HorizontalRule hr;
|
||||
|
||||
} // Utils::Layouting
|
||||
} // Layouting
|
||||
|
||||
Reference in New Issue
Block a user