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
QtWS25 Last Chance

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 7 Jan 2016, 09:43 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

    1/1

    7 Jan 2016, 09:43

    • Login

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