vertical Toolbar



  • hi
    How to have vertical Toolbar?
    please guide me
    thanks

    Rectangle {
                    Layout.fillHeight: true
                    Layout.preferredWidth: 0.065*parent.width
                    color: "red"
    
                    ToolBar {
                    Layout.alignment: Qt.Vertical
                       style: ToolBarStyle {
    
                            background: Rectangle {
                                color: "transparent"
                            }
                        }
    
                        RowLayout {
                            anchors.fill: parent
                            layoutDirection: Qt.LeftToRight
    
    
    
                            
                            MyToolButton{
    
                                Layout.alignment: Qt.Vertical
    
                                id:tbPlay
                                action: actPlay
                                MouseArea
                                {
                                    id: maPlay
                                    anchors.fill: parent
                                    anchors.margins: -10
                                    hoverEnabled:true
                                    
                                    cursorShape:  Qt.OpenHandCursor
                                }
                                iconSource:maPlay.containsMouse ? "images/play2.png":"images/play.png"
                            }
    
    
                            MyToolButton{
    						Layout.alignment: Qt.Vertical
                                id:tbSettingCompany
                                action: actCompany
                                MouseArea
                                {
                                    id: maSettingCompany
                                    anchors.fill: parent
                                    anchors.margins: -10
                                    hoverEnabled:true
                                    
                                    cursorShape:  Qt.OpenHandCursor
                                }
                                iconSource:maSettingCompany.containsMouse ? "images/company2.png":"images/company.png"
                            }
                            
                        }
                    }
    
    
                }
    
    


Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.