N
N
Nicky232020-05-04 16:46:04
Qt
Nicky23, 2020-05-04 16:46:04

How to access the form element?

Good evening! Such problem... I have a form on which elements are placed. Some of these elements are placed in a horizontal layout. And the problem is, I can't contact them! To the horizontal layout itself I can, but not to the content. There are no problems with elements placed outside the horizontal layout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2020-05-06
@Nicky23

1. Read any book on Qt, save a lot of time on elementary questions.
2. On the form, each element has an objectName that can be accessed. If the elements were generated automatically, then you can remember the pointers to them during creation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question