remove menu stuff

This commit is contained in:
Benjamin Palko 2025-09-04 18:57:12 -04:00
parent 75f780753f
commit 3074bcae38
4 changed files with 1 additions and 84 deletions

View file

@ -10,9 +10,8 @@ import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
StyledWindow {
StyledPopupWindow {
id: root
name: "storybook"
visible: Visibility.storybook
implicitWidth: rect.width
@ -152,36 +151,6 @@ StyledWindow {
}
}
ColumnLayout {
StyledText {
text: "Popup"
font.pixelSize: 18
}
Button {
id: fileButton
text: "File"
onPressed: menu.visible ? menu.close() : menu.open()
StyledPopup {
id: menu
anchor.item: fileButton
Column {
StyledButton {
text: "New..."
}
StyledButton {
text: "Open..."
}
StyledText {
text: "Close"
}
}
}
}
}
ColumnLayout {
StyledText {
text: "Drawer"