|
|
| (5 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| =Qt for beginners — Exercise 1 : basis (Answer)=
| | #REDIRECT [[Qt for Beginners]] |
| | |
| [[Qt for beginners Exercise 1 basis|<<< Exercise 1 : basis]] | [[Qt for beginners|Summary]] | Exercise 2 >>>
| |
| | |
| ==Widgets==
| |
| | |
| Since this application seems to be quite complicated, we have chosen to split into several files :
| |
| | |
| ''main.cpp''<br />
| |
| | |
| ''window.h''<br />
| |
| | |
| ''window.cpp''<br />
| |
| | |
| You can also remove the buttons from the attributes list and put the inside the constructor.
| |
| | |
| ==Signals and slots==
| |
| | |
| [[Qt for beginners Exercise 1 basis|<<< Exercise 1 : basis]] | [[Qt for beginners|Summary]] | Exercise 2 >>>
| |
| | |
| ===Categories:===
| |
| | |
| * [[:Category:HowTo|HowTo]]
| |
| * [[:Category:Qt for beginners|Qt_for_beginners]]
| |
| * [[:Category:Tutorial|Tutorial]]
| |