added select channel dialog

This commit is contained in:
fourtf
2018-04-18 09:12:29 +02:00
parent 043823120f
commit 3446a623f5
29 changed files with 1295 additions and 69 deletions
+14
View File
@@ -24,6 +24,11 @@ public:
return this->item;
}
T *operator*()
{
return this->item;
}
T *getElement()
{
return this->item;
@@ -75,6 +80,15 @@ public:
return *this;
}
template <typename Q = T,
typename std::enable_if<std::is_base_of<QWidget, Q>::value, int>::type = 0>
LayoutCreator<T> hidden()
{
this->item->setVisible(false);
return *this;
}
template <typename Q = T, typename T2,
typename std::enable_if<std::is_same<QTabWidget, Q>::value, int>::type = 0>
LayoutCreator<T2> appendTab(T2 *item, const QString &title)