qzoltan
5th April 2018, 11:45
Hi all,
I am new in Qt programming and I use Linux/KDE4/Qt 4.8.7 + Qt creator 2.8.0 + Qt Designer.
Since I am new to QT I am trying to learn it from the C++-GUI-Programming-with-Qt-4-1st-ed.pdf - GUI-Programming-with-Qt-4-1st-ed.pdf (https://github.com/rascheel/coms229-project2/blob/master/docs/C%2B%2B-GUI-Programming-with-Qt-4-1st-ed.pdf)
There is an example code for a simple ui based Dynamic dialog. The Ui is created in Designer and coded in Qt Creator (with qmake compile for ui). All works ok except that the window is not properly formatted. This is how it looks like:
12804
The code is simple - sortdialog.ui, sortdialog.h, sortdialog.cpp, main.cpp
12805
12806
12807
12808
I am not sure why the dialog size is deformed. When I hit "More" button it looks ok.
Can anybody help please?
Thanks
I am new in Qt programming and I use Linux/KDE4/Qt 4.8.7 + Qt creator 2.8.0 + Qt Designer.
Since I am new to QT I am trying to learn it from the C++-GUI-Programming-with-Qt-4-1st-ed.pdf - GUI-Programming-with-Qt-4-1st-ed.pdf (https://github.com/rascheel/coms229-project2/blob/master/docs/C%2B%2B-GUI-Programming-with-Qt-4-1st-ed.pdf)
There is an example code for a simple ui based Dynamic dialog. The Ui is created in Designer and coded in Qt Creator (with qmake compile for ui). All works ok except that the window is not properly formatted. This is how it looks like:
12804
The code is simple - sortdialog.ui, sortdialog.h, sortdialog.cpp, main.cpp
12805
12806
12807
12808
I am not sure why the dialog size is deformed. When I hit "More" button it looks ok.
Can anybody help please?
Thanks