added select channel dialog
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user