Bonjour,
Hello,
I have written the beginning of a program and the test of the main window fails.
The file Qdesigner.jpg shows you a QtDesigner view of the main window.
I have not created some link between signals and slots: I wanted to use the default names (such as on_widget_clicked() ).
The C++ project consists for the moment in the mainwindow C++ files (init.h, init.cpp) and the central C++ file, librairie.cpp.
The program shows the mainwindow, and creates a dialog window when you click on the "ajouter_auteur" button.
Now, you have all the elements, you can play to the doctor if you want!
Hope that you will do!
lolveley.
j'ai écrit le début d'un programme et le test de la mainwindow échoue: elle s'affiche vide.
Le fichier QDesigner montre la vus QtDesigner de la mainwindow.
Je n'ai pas créé de lien signal/slot, au lieu de ça j'ai utilisé les noms de slots par défaut (par ex. on_myWidget_clicked().
Le projet C++ consiste pour le moment en des fichiers init.h,init.cpp du mainwindow "init", et en le fichier librairie.cpp, fichier principal.
Le programme est censé afficher la fenêtre principale, et affiche une boîte de dialogue lorsqu'on clique sur le bouton "ajouter" (un auteur).
Voilà, vous avez tous les éléments, si le coeur vous en dit vous pouvez jouer au docteur!
Cordialement,
lolveley.
Partager