Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68814 Native style support for Qt Quick Controls 2
  3. QTBUG-115164

Add missing controls (with QStyle support) to native styles

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None
    • Shovelling Snow, Q1/2020 Finale, Q2/2020 kick off, 6.2 Features

    Description

      • TabBar
      • ToolButton (Button with menu)
      • ToolSeparator
      TabBar
      #include <QtWidgets>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
      
          QMainWindow mainWindow;
      
          QWidget *centralWidget = new QWidget;
      
          auto *tabBar = new QTabBar(centralWidget);
          tabBar->addTab("Tab 1");
          tabBar->addTab("Tab 2");
          tabBar->addTab("Tab 3");
      
          mainWindow.setCentralWidget(centralWidget);
      
          mainWindow.resize(400, 400);
          mainWindow.show();
      
          return app.exec();
      }
      
      ToolBar
      #include <QtWidgets>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
      
          QMainWindow mainWindow;
          auto *toolBar = new QToolBar;
          toolBar->addAction("ToolButton 1");
          toolBar->addAction("ToolButton 2");
          toolBar->addAction("ToolButton 3");
          mainWindow.addToolBar(toolBar);
      
          mainWindow.resize(400, 400);
          mainWindow.show();
      
          return app.exec();
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-115164
        # Subject Branch Project Status CR V

        Activity

          People

            vhilshei Volker Hilsheimer
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 2 open Gerrit changes