summaryrefslogtreecommitdiffstats
path: root/util/qt3d/modeltweak/qml/ButtonBarPane.qml
blob: ece16573ffe0cb47ee71433cc2b3d3892eed0fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import QtQuick 1.0
import Qt3D 1.0
import ModelTweak 1.0
import "Widgets"

Flow {
    width: buttonWidth * 4 + spacing * 3
    spacing: 8

    property double buttonWidth: 80

    SaveButton {
        width: buttonWidth
        buttonText: "Save!"
    }

    BlenderToggle {
        width: buttonWidth
        buttonText: "Load!"
        onClicked: quickFile.load()
    }

    BlenderToggle {
        width: buttonWidth
        buttonText: "Help!"
        onClicked: helpOverlay.visible = true
    }
}