Discussion of article "Graphical Interfaces X: Text selection in the Multiline Text box (build 13)" - page 6

 
Konstantin:


in Qt factory function:

and this is how checks are performed to create widgets:

I don't understand anything. What is a factory function?

 
Anatoli Kazharski:

I don't get it. What is a factory function?


))
 
Anatoli Kazharski:

I don't get it. What is a factory function?

well then don't worry, we'll use it that way ))
 
Konstantin:
well then don't worry, we'll use it that way ))
Try to implement it yourself, if you know how. And in the ready scheme you can try to implement everything that is already in the library from this series of articles.
 
Konstantin:
well then don't worry, we'll use it that way ))

In Qt a checkbox has about 100 properties. That's cool)))
 
Anatoli Kazharski:
Try to implement it yourself, if you know how. And in the ready scheme you can try to implement everything that is already in the library from this series of articles.
Unfortunately, I don't know the structure of your library very well, and I don't have time to study everything, I will do it as soon as I get a chance, but it will definitely not be soon.
 
Реter Konow:

In Qt, a checkbox has about 100 properties. That's cool)))

so there is a big crowd of people working on Qt, so everyone has created a property each ))
 
Konstantin:
Unfortunately, I don't know the structure of your library very well, and I don't have time to study it all, as soon as I get a chance I will do it, but it will not be soon for sure

Besides, the structure can still change a lot. In general, I will do as I see fit for now.

 
Konstantin:

but in general, QWidget is all about QWidget.

Thanks, I'll have a look.

P.S. It's better to write new posts than to add to previous ones (they may go unnoticed).

Konstantin:

I don't quite understand here, is it positioning of an element relative to the borders and they can be placed both behind the form and inside the form?

For example, there is a form, we position an element relative to the left border of the form further to the left?

Binding to one of the sides inside the form. Here is more information: GUI X: Updates for Easy And Fast library (build 3)


Qt Widgets C++ Classes | Qt Widgets 5.8
  • doc.qt.io
The Qt Widgets module extends Qt GUI with C++ widget functionality. More... Classes Detailed Description To include the definitions of the module's classes, use the following directive: To link...
 
Anatoli Kazharski:

Thanks, I'll have a look.

P.S. It's better to write new posts than to add to previous posts (may go unnoticed).

Binding to one side within a form. More details here: GUIs X: Updates for Easy And Fast library (build 3)



methods X(const int x) and Y(const int y) do not affect the position of the table in the form in any way, it is always located in the upper left corner