Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change QTabWidger (Insert a controller with buttons)
QtWS25 Last Chance

Change QTabWidger (Insert a controller with buttons)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 553 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.
  • V Offline
    V Offline
    vascaino90
    wrote on last edited by
    #1

    Hello to all.
        I need to create a component as QTabWidget, but between the first two tabs
    there should be a controller with 4 buttons for navigation between tabs:
    previous, next, first and last.
        I did, but I wonder if there is a better way.
        I did as follows:
        1) I created a QTabWidget.
        2) In the second tab, I added a widget containing 4 buttons and no text.
        3) mapped events.
       
    problems:

    1. The controller should be different stylesheet from tab stylesheet
      (tabs are rounded and controller are rectangular).
    2. I have to disable the event (change the page when I click on the tab controller).

    I thank you.

    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