One final question - do you use layouts in your applications?
One word, convenience.
Isn't it more convenient not to use it? Simply position widgets on the form and voilla?
It's simpler to do :
Qt Code:
layout->addWidget(myWidget);To copy to clipboard, switch view to plain text mode
than
Qt Code:
myWidget->move(posX, posY);To copy to clipboard, switch view to plain text mode
There is another thing you're not going to like : I never use Qt Designer.
:-).
Which is strange considering everything you said earlier. Another question in that case - do you allow your users to resize windows of your applications and why?
Regarding the font size I also notice that size is different in KDE from Gnome, also the lineedit boxes are very smaller in KDE, than in Gnome. I also had problems whit translation. Some setences can become bigger in different languages so in portuguese, my labels where "cutting" the words. I had to enlarge the size of the labels in the Qtdesigner. I'll have to check if there's a way to get the size of the text ant set the label size based on that
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
I'd be lost without layouts. I can't be bothered to find out the exact pixel co-ordinates to set all the widgets to, it's far easier to throw in some layout components and let Qt do all the work for me.
Thanks I'll check that.
Also I use a lot layouts, they are very usefull.
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Nop......
But last night after posting I start reading again chapter 1 and 2 of "C++ GUI Programming with Qt4".
AH...... What a great book(thinking out loud: it will never stop amazing me with my ignorance)
![]()
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Bookmarks