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. Fit Page under QTabWidget

Fit Page under QTabWidget

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.1k 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.
  • R Offline
    R Offline
    Ruzik
    wrote on last edited by
    #1

    !http://www.easyfoto.ru/20110411123112209.jpg(screenshot)!
    http://www.easyfoto.ru/20110411123112209.jpg

    I have a 2 QDockWidget and qss styles for them, when I joined them in QTableWidget at smaller of them are not correctly displayed drawing, how can I do that would be the height of QTabWidget adjust to the height of the widget
    Sorry for bad english, and advance many thanks for your help!

    Edit: Made picture link into an inline picture; Andre

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Did you set a minimum size for the tab widget, either directly or through having other widgets with a minimum size inside the tab widget in a layout for one of the pages of the tab widget?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Ruzik
        wrote on last edited by
        #3

        TabWidget create in the program and i dont know it's name

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Ruzik
          wrote on last edited by
          #4

          Does not tell me: How i can learn the name of this QTabWidget?
          I add QDock Widget by follow method:
          @
          this->tabifyDockWidget(searchInTable , addNewItem);
          @
          I try used tabWidget(it is first QTAbWidget in this class), but compiler give me a error

          Edit: please use @ tags around code sections; Andre

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            [quote author="Ruzik" date="1302536924"]I try used tabWidget(it is first QTAbWidget in this class), but compiler give me a error[/quote]
            What error would that be?

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Ruzik
              wrote on last edited by
              #6

              Error 1 error C2065: tabWidget: undeclared identifier c: \ Documents and Settings \ rustam \ My Documents \ Visual Studio 2008 \ Projects \ RizekActionManager \ RizekActionManager \ rizekactionmanager.cpp 69 (MSVC 2008)

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Ruzik
                wrote on last edited by
                #7

                Tried to set the maximum value for QDockWidget - not working

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Ruzik
                  wrote on last edited by
                  #8

                  Please help, I'm confused

                  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