Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. recreate stackedwidget from camera example
Qt 6.12 LTS is out! See what's new in the release blog

recreate stackedwidget from camera example

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 381 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.
  • M Offline
    M Offline
    morkia
    wrote on last edited by morkia
    #1

    This is what I get when I place an stacked widget from the Designer menu in my form:
    Screenshot from 2019-12-24 16-34-49.png

    but the camera example stacked widget is like this:

    Screenshot from 2019-12-24 16-42-40.png

    How is that created? also when I click on viewfinderPage of camera example's stacked widget it has a expandable list named layout which is a grid layout in the property value on the right down side but there's nothing like that when I place an stacked widget in my form.

    Screenshot from 2019-12-24 16-48-27.png

    How to recreate this?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      morkia
      wrote on last edited by
      #2

      OK I figured it out myself. First one must place some widget in the pages and then right-click on the stackedWidget object name and from the menu select Layout and the select the desired layout.

      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
      • Unsolved