PDA

View Full Version : Config Dialog in qt designer



Jeneo W.
14th September 2010, 23:52
Hello my friends

How can I make a Config Dialog using the qt designer.

This link, but this is not used qt designer

http://doc.trolltech.com/4.2/dialogs-configdialog.html


http://doc.trolltech.com/4.2/images/configdialog-example.png


I prefer to use the qt designer on the use of code.

tbscope
15th September 2010, 05:35
On the left is a QListWidget
On the right is a QStackedWidget
On the bottom is a QPushButton
All is added to layouts.

The pages are QWidgets added to the stacked widget.

Jeneo W.
15th September 2010, 11:00
On the left is a QListWidget
On the right is a QStackedWidget
On the bottom is a QPushButton
All is added to layouts.

The pages are QWidgets added to the stacked widget.


When I press on the QListWidget.
How to change slide QStackedWidget ???

Lykurg
15th September 2010, 11:21
See for signal and slots in the documentation or simply READ the example you mentioned.

Zlatomir
15th September 2010, 11:22
Use signals and slots (http://doc.trolltech.com/4.6/signalsandslots.html)

Jeneo W.
15th September 2010, 11:35
See for signal and slots in the documentation or simply READ the example you mentioned.


Use signals and slots (http://doc.trolltech.com/4.6/signalsandslots.html)




Do you work this with the qt designer?

Lykurg
15th September 2010, 11:45
You may be should first understand the basic principles how Qt work, then you can do it with any gui tool you like. (And yes you can use signal and slots with designer)


And I personally
don't like text
which
is aligned
strange
for no
reason.Plain text in black is fine, too;)

boudie
15th September 2010, 13:33
lol
lol
lol

Jeneo W.
15th September 2010, 14:39
Hello,
I have a problem in the project.
Icon is very small.
How can I make a larger QListWidget ??
And how to make spaces between the icons ??

http://img163.imageshack.us/img163/2236/moresmall.png

MTK358
15th September 2010, 14:44
Under the Property Editor for the list widget, look for the gridSize property. Set it to whatever they set it to in the example code.

Jeneo W.
15th September 2010, 14:53
Under the Property Editor for the list widget, look for the gridSize property. Set it to whatever they set it to in the example code.

I did not find gridSize.
When you translate the program becomes very small

See attachments ===> 5193

MTK358
15th September 2010, 15:05
I did not find gridSize.

See the attachment.