Updating MixedMenu to v1.1, removing debug alert, changing Linux category to a single one.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5be33e8aa9
commit
c74e5d69ea
5 changed files with 15 additions and 20 deletions
|
@ -39,11 +39,6 @@ Rectangle {
|
|||
font.pixelSize: 18
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
show("Test")
|
||||
console.log("Width", width, "height", height)
|
||||
}
|
||||
|
||||
|
||||
ParallelAnimation {
|
||||
id: fadingAnimation
|
||||
|
|
|
@ -30,20 +30,20 @@ MenuBar {
|
|||
text: qsTr("&Load...")
|
||||
shortcut: StandardKey.Open
|
||||
onTriggered: settings.load()
|
||||
iconName: 'document-open'
|
||||
icon.name: 'document-open'
|
||||
|
||||
}
|
||||
Action {
|
||||
text: qsTr("&Save")
|
||||
shortcut: StandardKey.Save
|
||||
onTriggered: settings.save()
|
||||
iconName: 'document-save'
|
||||
icon.name: 'document-save'
|
||||
}
|
||||
Action {
|
||||
text: qsTr("Save &As...")
|
||||
shortcut: StandardKey.SaveAs
|
||||
onTriggered: settings.saveAs()
|
||||
iconName: 'document-save-as'
|
||||
icon.name: 'document-save-as'
|
||||
|
||||
}
|
||||
MenuSeparator { }
|
||||
|
@ -51,7 +51,7 @@ MenuBar {
|
|||
text: qsTr("&Quit")
|
||||
shortcut: StandardKey.Quit
|
||||
onTriggered: Qt.quit()
|
||||
iconName: 'application-exit'
|
||||
icon.name: 'application-exit'
|
||||
}
|
||||
}
|
||||
Menu {
|
||||
|
@ -60,16 +60,16 @@ MenuBar {
|
|||
text: qsTr("&Undo")
|
||||
shortcut: StandardKey.Undo
|
||||
onTriggered: history.undo()
|
||||
iconName: 'edit-undo'
|
||||
iconColor: enabled ? sysPalette.windowText : sysPaletteIn.windowText
|
||||
icon.name: 'edit-undo'
|
||||
icon.color: enabled ? sysPalette.windowText : sysPaletteIn.windowText
|
||||
enabled: history.undoCount > 0
|
||||
}
|
||||
Action {
|
||||
text: qsTr("&Redo")
|
||||
shortcut: StandardKey.Redo
|
||||
onTriggered: history.redo()
|
||||
iconName: 'edit-redo'
|
||||
iconColor: enabled ? sysPalette.windowText : sysPaletteIn.windowText
|
||||
icon.name: 'edit-redo'
|
||||
icon.color: enabled ? sysPalette.windowText : sysPaletteIn.windowText
|
||||
enabled: history.redoCount > 0
|
||||
}
|
||||
MenuSeparator { }
|
||||
|
@ -77,7 +77,7 @@ MenuBar {
|
|||
text: qsTr("&Copy diagram")
|
||||
shortcut: StandardKey.Copy
|
||||
onTriggered: root.copyDiagramToClipboard()
|
||||
iconName: 'edit-copy'
|
||||
icon.name: 'edit-copy'
|
||||
}
|
||||
}
|
||||
Menu {
|
||||
|
@ -90,8 +90,8 @@ MenuBar {
|
|||
text: modelData
|
||||
visible: Objects.types[modelData].createable()
|
||||
height: visible ? implicitHeight : 0
|
||||
iconName: modelData
|
||||
iconColor: sysPalette.windowText
|
||||
icon.name: modelData
|
||||
icon.color: sysPalette.windowText
|
||||
onTriggered: {
|
||||
var newObj = Objects.createNewRegisteredObject(modelData)
|
||||
history.addToHistory(new HistoryLib.CreateNewObject(newObj.name, modelData, newObj.export()))
|
||||
|
@ -105,7 +105,7 @@ MenuBar {
|
|||
Action {
|
||||
text: qsTr("&About")
|
||||
shortcut: StandardKey.HelpContents
|
||||
iconName: 'about'
|
||||
icon.name: 'about'
|
||||
onTriggered: about.open()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 66e3761b50fcc2f14eec97eaaf20fa5ef3a48300
|
||||
Subproject commit f0d6a9617454089cf8d03ec7c775ee1aedb768ce
|
|
@ -8,4 +8,4 @@ Icon=logplotter
|
|||
MimeType=application/x-logarithm-plotter;
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Graphics;Science;Math;
|
||||
Categories=Math
|
||||
|
|
|
@ -8,4 +8,4 @@ Icon=ROOTFOLDER/logplotter.svg
|
|||
MimeType=application/x-logarithm-plotter;
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Graphics;Science;Math;
|
||||
Categories=Math
|
||||
|
|
Loading…
Reference in a new issue