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. StackedWidget not visible in DockWidget
QtWS25 Last Chance

StackedWidget not visible in DockWidget

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 4 Posters 688 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.
  • B Offline
    B Offline
    Bob K.
    wrote on last edited by
    #6

    The stacked widget is not displaying any widgets.

    I'm not sure what you mean by splitting the main window into smaller widgets? The main window contains a tab widget, which is where all the data will be displayed.

    The dock widget contains a list of database entries. Once an entry is selected, any data manipulation will take place in the tab widget. That's why I wanted dock widget to be moveable.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #7

      Your UI works correctly on Linux, Qt 6.3.1.
      210f4af5-a3b6-4b4d-937b-3fe28396c887-image.png

      The dock widget has no controls to navigate between the pages, so you only see pageSession (the currentIndex).

      Are you able to post an image of what you see?
      Are you able to try a different Qt version?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bob K.
        wrote on last edited by
        #8

        Screen shot and Qt Creator System Information files attached.ScreenshotQtStackWidget.png ![alt text](image url)

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bob K.
          wrote on last edited by
          #9

          Qt Creator System Information file

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Bob K.
            wrote on last edited by
            #10

            Qt Creator System Information, one more time...

            {noformat}
            Qt 6.3.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows"
            OS: Windows 11 Version 2009 [winnt version 10.0.22621]

            Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

            Environment:
            QtMsBuild="C:\Users\rkama\AppData\Local\QtMsBuild"

            Features: QT_NO_EXCEPTIONS

            Library info:
            PrefixPath: C:\Qt\Tools\QtCreator\bin
            DocumentationPath: C:\Qt\Tools\QtCreator\bin\doc
            HeadersPath: C:\Qt\Tools\QtCreator\bin\include
            LibrariesPath: C:\Qt\Tools\QtCreator\bin
            LibraryExecutablesPath: C:\Qt\Tools\QtCreator\bin\bin
            BinariesPath: C:\Qt\Tools\QtCreator\bin
            PluginsPath: C:\Qt\Tools\QtCreator\bin\plugins
            QmlImportsPath: C:\Qt\Tools\QtCreator\bin\qml
            ArchDataPath: C:\Qt\Tools\QtCreator\bin
            DataPath: C:\Qt\Tools\QtCreator\bin
            TranslationsPath: C:\Qt\Tools\QtCreator\bin\translations
            ExamplesPath: C:\Qt\Tools\QtCreator\bin\examples
            TestsPath: C:\Qt\Tools\QtCreator\bin\tests
            SettingsPath:

            Standard paths [... denote writable entry]:
            DesktopLocation: "Desktop" C:\Users\rkama\OneDrive\Desktop
            DocumentsLocation: "Documents" C:\Users\rkama\OneDrive\Documents
            FontsLocation: "Fonts" C:\WINDOWS\Fonts
            ApplicationsLocation: "Applications" C:\Users\rkama\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
            MusicLocation: "Music" C:\Users\rkama\Music
            MoviesLocation: "Movies" C:\Users\rkama\Videos
            PicturesLocation: "Pictures" C:\Users\rkama\OneDrive\Pictures
            TempLocation: "Temporary Directory" C:\Users\rkama\AppData\Local\Temp
            HomeLocation: "Home" C:\Users\rkama
            AppLocalDataLocation: "Application Data" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
            CacheLocation: "Cache" C:\Users\rkama\AppData\Local\QtProject\qtdiag\cache
            GenericDataLocation: "Shared Data" C:\Users\rkama\AppData\Local C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data
            RuntimeLocation: "Runtime" C:\Users\rkama
            ConfigLocation: "Configuration" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
            DownloadLocation: "Download" C:\Users\rkama\Downloads
            GenericCacheLocation: "Shared Cache" C:\Users\rkama\AppData\Local\cache
            GenericConfigLocation: "Shared Configuration" C:\Users\rkama\AppData\Local C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data
            AppDataLocation: "Application Configuration" C:\Users\rkama\AppData\Roaming\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
            AppConfigLocation: "Application Configuration" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag

            File selectors (increasing order of precedence):
            en_US windows winnt

            Network:
            Using "OpenSSL 1.1.1d 10 Sep 2019", version: 0x1010104f

            Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable

            Style hints:
            mouseDoubleClickInterval: 500
            mousePressAndHoldInterval: 800
            startDragDistance: 10
            startDragTime: 500
            startDragVelocity: 0
            keyboardInputInterval: 400
            keyboardAutoRepeatRate: 32
            cursorFlashTime: 1060
            showIsFullScreen: 0
            showIsMaximized: 0
            passwordMaskDelay: 0
            passwordMaskCharacter: U+000
            Plugin information:

            • Android 8.0.1
            • AutoTest 8.0.1
              AutotoolsProjectManager 8.0.1
              BareMetal 8.0.1
            • Bazaar 8.0.1
              Beautifier 8.0.1
            • BinEditor 8.0.1
            • Bookmarks 8.0.1
              Boot2Qt 8.0.1
            • CMakeProjectManager 8.0.1
            • CVS 8.0.1
            • ClangCodeModel 8.0.1
              ClangFormat 8.0.1
            • ClangTools 8.0.1
            • ClassView 8.0.1
              ClearCase 8.0.1
              Coco 8.0.1
            • CodePaster 8.0.1
              CompilationDatabaseProjectManager 8.0.1
              Conan 8.0.1
            • Core 8.0.1
            • CppEditor 8.0.1
              Cppcheck 8.0.1
            • CtfVisualizer 8.0.1
            • Debugger 8.0.1
            • Designer 8.0.1
            • DiffEditor 8.0.1
              Docker 8.0.1
              EmacsKeys 8.0.1
            • FakeVim 8.0.1
            • GLSLEditor 8.0.1
            • GenericProjectManager 8.0.1
            • Git 8.0.1
              GitLab 8.0.1
              HelloWorld 8.0.1
            • Help 8.0.1
            • ImageViewer 8.0.1
            • IncrediBuild 8.0.1
              Ios 8.0.1
            • LanguageClient 8.0.1
            • LicenseChecker 8.0.1
            • Macros 8.0.1
            • Marketplace 8.0.1
              McuSupport 8.0.1
            • Mercurial 8.0.1
              MesonProjectManager 8.0.1
            • ModelEditor 8.0.1
              Nim 8.0.1
            • PerfProfiler 8.0.1
              Perforce 8.0.1
            • ProjectExplorer 8.0.1
            • Python 8.0.1
            • QbsProjectManager 8.0.1
            • QmakeProjectManager 8.0.1
              QmlDesigner 8.0.1
            • QmlJSEditor 8.0.1
            • QmlJSTools 8.0.1
            • QmlPreview 8.0.1
            • QmlProfiler 8.0.1
            • QmlProjectManager 8.0.1
            • Qnx 8.0.1
            • QtSupport 8.0.1
            • RemoteLinux 8.0.1
            • ResourceEditor 8.0.1
            • ScxmlEditor 8.0.1
              SerialTerminal 8.0.1
              SilverSearcher 8.0.1
              StudioWelcome 8.0.1
            • Subversion 8.0.1
            • TaskList 8.0.1
            • TextEditor 8.0.1
              Todo 8.0.1
            • UpdateInfo 8.0.1
            • UsageStatistic 8.0.1
            • Valgrind 8.0.1
            • VcsBase 8.0.1
              Vxworks 8.0.1
              WebAssembly 8.0.1
            • Welcome 8.0.1

            Used settingspath: ~/AppData/Roaming/QtProject

            Qt Creator 8.0.1
            Based on Qt 6.3.1 (MSVC 2019, x86_64)
            From revision 9c963ce8ae
            Built on Aug 11 2022 01:13:43

            {noformat}

            JonBJ 1 Reply Last reply
            0
            • B Bob K.

              Qt Creator System Information, one more time...

              {noformat}
              Qt 6.3.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows"
              OS: Windows 11 Version 2009 [winnt version 10.0.22621]

              Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

              Environment:
              QtMsBuild="C:\Users\rkama\AppData\Local\QtMsBuild"

              Features: QT_NO_EXCEPTIONS

              Library info:
              PrefixPath: C:\Qt\Tools\QtCreator\bin
              DocumentationPath: C:\Qt\Tools\QtCreator\bin\doc
              HeadersPath: C:\Qt\Tools\QtCreator\bin\include
              LibrariesPath: C:\Qt\Tools\QtCreator\bin
              LibraryExecutablesPath: C:\Qt\Tools\QtCreator\bin\bin
              BinariesPath: C:\Qt\Tools\QtCreator\bin
              PluginsPath: C:\Qt\Tools\QtCreator\bin\plugins
              QmlImportsPath: C:\Qt\Tools\QtCreator\bin\qml
              ArchDataPath: C:\Qt\Tools\QtCreator\bin
              DataPath: C:\Qt\Tools\QtCreator\bin
              TranslationsPath: C:\Qt\Tools\QtCreator\bin\translations
              ExamplesPath: C:\Qt\Tools\QtCreator\bin\examples
              TestsPath: C:\Qt\Tools\QtCreator\bin\tests
              SettingsPath:

              Standard paths [... denote writable entry]:
              DesktopLocation: "Desktop" C:\Users\rkama\OneDrive\Desktop
              DocumentsLocation: "Documents" C:\Users\rkama\OneDrive\Documents
              FontsLocation: "Fonts" C:\WINDOWS\Fonts
              ApplicationsLocation: "Applications" C:\Users\rkama\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
              MusicLocation: "Music" C:\Users\rkama\Music
              MoviesLocation: "Movies" C:\Users\rkama\Videos
              PicturesLocation: "Pictures" C:\Users\rkama\OneDrive\Pictures
              TempLocation: "Temporary Directory" C:\Users\rkama\AppData\Local\Temp
              HomeLocation: "Home" C:\Users\rkama
              AppLocalDataLocation: "Application Data" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
              CacheLocation: "Cache" C:\Users\rkama\AppData\Local\QtProject\qtdiag\cache
              GenericDataLocation: "Shared Data" C:\Users\rkama\AppData\Local C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data
              RuntimeLocation: "Runtime" C:\Users\rkama
              ConfigLocation: "Configuration" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
              DownloadLocation: "Download" C:\Users\rkama\Downloads
              GenericCacheLocation: "Shared Cache" C:\Users\rkama\AppData\Local\cache
              GenericConfigLocation: "Shared Configuration" C:\Users\rkama\AppData\Local C:\ProgramData C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data
              AppDataLocation: "Application Configuration" C:\Users\rkama\AppData\Roaming\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
              AppConfigLocation: "Application Configuration" C:\Users\rkama\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt\Tools\QtCreator\bin C:\Qt\Tools\QtCreator\bin\data C:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag

              File selectors (increasing order of precedence):
              en_US windows winnt

              Network:
              Using "OpenSSL 1.1.1d 10 Sep 2019", version: 0x1010104f

              Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable

              Style hints:
              mouseDoubleClickInterval: 500
              mousePressAndHoldInterval: 800
              startDragDistance: 10
              startDragTime: 500
              startDragVelocity: 0
              keyboardInputInterval: 400
              keyboardAutoRepeatRate: 32
              cursorFlashTime: 1060
              showIsFullScreen: 0
              showIsMaximized: 0
              passwordMaskDelay: 0
              passwordMaskCharacter: U+000
              Plugin information:

              • Android 8.0.1
              • AutoTest 8.0.1
                AutotoolsProjectManager 8.0.1
                BareMetal 8.0.1
              • Bazaar 8.0.1
                Beautifier 8.0.1
              • BinEditor 8.0.1
              • Bookmarks 8.0.1
                Boot2Qt 8.0.1
              • CMakeProjectManager 8.0.1
              • CVS 8.0.1
              • ClangCodeModel 8.0.1
                ClangFormat 8.0.1
              • ClangTools 8.0.1
              • ClassView 8.0.1
                ClearCase 8.0.1
                Coco 8.0.1
              • CodePaster 8.0.1
                CompilationDatabaseProjectManager 8.0.1
                Conan 8.0.1
              • Core 8.0.1
              • CppEditor 8.0.1
                Cppcheck 8.0.1
              • CtfVisualizer 8.0.1
              • Debugger 8.0.1
              • Designer 8.0.1
              • DiffEditor 8.0.1
                Docker 8.0.1
                EmacsKeys 8.0.1
              • FakeVim 8.0.1
              • GLSLEditor 8.0.1
              • GenericProjectManager 8.0.1
              • Git 8.0.1
                GitLab 8.0.1
                HelloWorld 8.0.1
              • Help 8.0.1
              • ImageViewer 8.0.1
              • IncrediBuild 8.0.1
                Ios 8.0.1
              • LanguageClient 8.0.1
              • LicenseChecker 8.0.1
              • Macros 8.0.1
              • Marketplace 8.0.1
                McuSupport 8.0.1
              • Mercurial 8.0.1
                MesonProjectManager 8.0.1
              • ModelEditor 8.0.1
                Nim 8.0.1
              • PerfProfiler 8.0.1
                Perforce 8.0.1
              • ProjectExplorer 8.0.1
              • Python 8.0.1
              • QbsProjectManager 8.0.1
              • QmakeProjectManager 8.0.1
                QmlDesigner 8.0.1
              • QmlJSEditor 8.0.1
              • QmlJSTools 8.0.1
              • QmlPreview 8.0.1
              • QmlProfiler 8.0.1
              • QmlProjectManager 8.0.1
              • Qnx 8.0.1
              • QtSupport 8.0.1
              • RemoteLinux 8.0.1
              • ResourceEditor 8.0.1
              • ScxmlEditor 8.0.1
                SerialTerminal 8.0.1
                SilverSearcher 8.0.1
                StudioWelcome 8.0.1
              • Subversion 8.0.1
              • TaskList 8.0.1
              • TextEditor 8.0.1
                Todo 8.0.1
              • UpdateInfo 8.0.1
              • UsageStatistic 8.0.1
              • Valgrind 8.0.1
              • VcsBase 8.0.1
                Vxworks 8.0.1
                WebAssembly 8.0.1
              • Welcome 8.0.1

              Used settingspath: ~/AppData/Roaming/QtProject

              Qt Creator 8.0.1
              Based on Qt 6.3.1 (MSVC 2019, x86_64)
              From revision 9c963ce8ae
              Built on Aug 11 2022 01:13:43

              {noformat}

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #11

              @Bob-K
              The information about Qt Creator is not relevant. That is an IDE to develop your code. What exact version of Qt do you use/your application is configured to build with?

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bob K.
                wrote on last edited by
                #12

                Qt 6.3.1 (MSVC 2019, x86_64)

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  Bob K.
                  wrote on last edited by
                  #13

                  Is this being looked at, or have I done something wrong?

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Bob K.
                    wrote on last edited by
                    #14

                    Now working!

                    C 1 Reply Last reply
                    0
                    • B Bob K.

                      Now working!

                      C Offline
                      C Offline
                      ChrisW67
                      wrote on last edited by
                      #15

                      @Bob-K No, nothing wrong. This is not paid Qt support though. For my part life got in the way.

                      Good to hear that you fixed the problem. Where was the issue?

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        Bob K.
                        wrote on last edited by
                        #16

                        I'm not sure. I did update Qt, so perhaps that did the trick. Anyway, it's working.

                        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