qtquick: Remove old rubber band code, this has been ported already
This commit is contained in:
@@ -39,17 +39,6 @@ bool Separator_qtquick::isVertical() const
|
||||
return m_controller->isVertical();
|
||||
}
|
||||
|
||||
// TODOm2
|
||||
// Layouting::Widget *Separator_qtquick::createRubberBand(Layouting::Widget *parent)
|
||||
// {
|
||||
// if (!parent) {
|
||||
// qWarning() << Q_FUNC_INFO << "Parent is required";
|
||||
// return nullptr;
|
||||
// }
|
||||
|
||||
// return new Layouting::Widget_quick(new Layouting::RubberBand(parent));
|
||||
// }
|
||||
|
||||
void Separator_qtquick::onMousePressed()
|
||||
{
|
||||
if (freed())
|
||||
|
||||
@@ -29,10 +29,6 @@ public:
|
||||
bool isVertical() const;
|
||||
void init() override;
|
||||
|
||||
protected:
|
||||
// TODOm2
|
||||
// Widget *createRubberBand(Widget *parent) override;
|
||||
|
||||
public:
|
||||
// Interface with QML:
|
||||
Q_INVOKABLE void onMousePressed();
|
||||
|
||||
@@ -77,7 +77,7 @@ void Stack_qtquick::setCurrentDockWidget(int index)
|
||||
}
|
||||
}
|
||||
|
||||
QObject *Stack_qtquick::tabBarObj() const
|
||||
QObject *Stack_qtquick::tabBarViewObj() const
|
||||
{
|
||||
return m_tabBar->view()->asQObject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user