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. TabView Control Native Look
Forum Updated to NodeBB v4.3 + New Features

TabView Control Native Look

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    radixzz
    wrote on last edited by
    #1

    Hi! I've been wondering on how to use the TabView with native look. In The Gallery controls example inside qt creator the project uses the ApplicationWindow qml type but In my project Im using a QQuickView wrapper thing generated from the wizard to use qt quick 2.0. so I cant use the Application Window. Therefore I think that the TabView control doesn't look like in the example because of this. I have my qml as follows:

    @import QtQuick 2.0
    import QtQuick.Controls 1.0

    Rectangle {
    id:root
    color: "#f5f5f5"

    TabView {
        id:frame
        anchors.margins: Qt.platform.os === "osx" ? 12 : 2
        Tab {
            title: "Debug"
        }
        Tab {
            title: "Profiling"
        }
    }
    

    }@

    Is this the reason or Im missing something to make this control look as the Gallery example?

    Thanks!
    Ivan.

    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