|
|
|
@ -30,9 +30,11 @@ Rectangle {
@@ -30,9 +30,11 @@ Rectangle {
|
|
|
|
|
|
|
|
|
|
function simulateClick(buttonIndex) { |
|
|
|
|
buttonIndex = buttonIndex + 1 // skip over title |
|
|
|
|
if (!toolStripColumn.children[buttonIndex].checked) { |
|
|
|
|
toolStripColumn.children[buttonIndex].checked = true |
|
|
|
|
toolStripColumn.children[buttonIndex].clicked() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Ensure we don't get narrower than content |
|
|
|
|
property real _idealWidth: (ScreenTools.isMobile ? ScreenTools.minTouchPixels : ScreenTools.defaultFontPixelWidth * 8) + toolStripColumn.anchors.margins * 2 |
|
|
|
|