Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. vertical Toolbar
Forum Updated to NodeBB v4.3 + New Features

vertical Toolbar

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
vertical toolbqmlqt5toolbarvertical
1 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neda
    wrote on last edited by
    #1

    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"
                            }
                            
                        }
                    }
    
    
                }
    
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved