ricky
ricky

Reputation: 2108

qt designer how to select multiple children of a QStackedWidget page?

In qt designer, I have placed a QStackedWidget with 2 pages inside QMainWindow. And there are many widgets inside the first page as shown below: enter image description here

Now, I want to select all widgets inside the red box area. How to do that easily?

It seems I can not select multiple widgets by selecting a rectangle area with my mouse.

Update: I know I can press CTRL and click all widgets I want one by one. But it seems time consuming when there are hundreds of widgets which is possible in my app.

Upvotes: 2

Views: 3192

Answers (2)

thibsc
thibsc

Reputation: 4059

You can select multiple widgets by selecting a rectangle area with your mouse !
Not with the left click, but with scroll wheels click

Upvotes: 10

Thrawn
Thrawn

Reputation: 224

Just try and select them with CTRL+Click. If you can't do that check if the objects are locked in place.

Also you should be able to access your widgets through the side panel on the left (see fig.1)

fig.1

As I said earlier I can't 100% identify your problem remotely - I have no problems in a new fresh project. I am using Qt Creator 4.10 (Community Edition)

fig.2

You could also check whether your file is even writable, just look in the upper left corner of the Designer and check whether the lock is closed or open. (See fig. 3)

fig.3

Upvotes: 1

Related Questions