PDA

View Full Version : Starting a new application



franky
15th February 2016, 20:51
I'm going to do the following tutorial, Calculator Form Example.
http://doc.qt.io/qt-5/qtdesigner-calculatorform-example.html

Since I'm a beginner, there are many questions for me on following it. My IDE is Qt Creator 3.6.0 on a Windows machine.
My questions are these:

1- What type of project do I need to create for that tutorial?
2- What are the elements of the designed form? They are two Spinboxes, some Labels and one odd thing (the one that showed '4' there).

Thanks in advance for your guidance.

d_stranz
15th February 2016, 22:30
1 - You want to create an "Application" -> "Qt Widgets Application" using the New Project dialog in Qt Creator.
2 - If you download the example code from the link you gave, you can open the .ui file in Qt Designer and see that the "odd thing" is a read-only QLineEdit widget.