Qt for beginners Exercise 1 answer: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 16:47, 14 January 2015

Qt for beginners — Exercise 1 : basis (Answer)

<<< Exercise 1 : basis | Summary | Exercise 2 >>>

Widgets

Since this application seems to be quite complicated, we have chosen to split into several files :

main.cpp

window.h

window.cpp

You can also remove the buttons from the attributes list and put the inside the constructor.

Signals and slots

<<< Exercise 1 : basis | Summary | Exercise 2 >>>

Categories: