Implemented event filter in PanelWidget to enforce the receiving of mouse events (for the panel resize handle)
This commit is contained in:
@@ -56,6 +56,7 @@ namespace Bloom::Widgets
|
||||
auto* containerLayout = this->container->findChild<QVBoxLayout*>();
|
||||
|
||||
this->snapshotListView = new ListView({}, this);
|
||||
this->snapshotListView->viewport()->installEventFilter(parent);
|
||||
this->snapshotListView->setVerticalScrollBarPolicy(Qt::ScrollBarPolicy::ScrollBarAsNeeded);
|
||||
|
||||
this->snapshotListScene = this->snapshotListView->listScene();
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace Bloom::Widgets
|
||||
this->rightPanel = new PanelWidget(PanelWidgetType::RIGHT, this->settings.rightPanelState, this);
|
||||
this->rightPanel->setObjectName("right-panel");
|
||||
this->rightPanel->setMinimumResize(200);
|
||||
this->rightPanel->setHandleSize(5);
|
||||
this->rightPanel->setHandleSize(6);
|
||||
this->subContainerLayout->insertWidget(2, this->rightPanel);
|
||||
|
||||
this->snapshotManager = new SnapshotManager(
|
||||
|
||||
Reference in New Issue
Block a user