merge PopupPanel into HoverPanel with popupMode flag, delete PopupPanel
This commit is contained in:
parent
885e446bf4
commit
71258b6d80
6 changed files with 121 additions and 169 deletions
|
|
@ -2,10 +2,11 @@ import QtQuick
|
|||
import Quickshell
|
||||
import "." as M
|
||||
|
||||
M.PopupPanel {
|
||||
M.HoverPanel {
|
||||
id: menuWindow
|
||||
|
||||
panelWidth: 180
|
||||
popupMode: true
|
||||
contentWidth: 180
|
||||
|
||||
signal runCommand(var cmd)
|
||||
|
||||
|
|
@ -56,7 +57,7 @@ M.PopupPanel {
|
|||
required property var modelData
|
||||
required property int index
|
||||
|
||||
width: menuWindow.panelWidth
|
||||
width: menuWindow.contentWidth
|
||||
height: 32
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue