Die Suche ergab 4 Treffer

von valenterry
21. Februar 2007 20:04
Forum: Einfach Qt
Thema: SIGNAL(), SLOT() - warum gleiche Parameter? (Anfängerfrage)
Antworten: 6
Zugriffe: 4554

Gut, danke für deine Hilfe! :D
von valenterry
21. Februar 2007 19:42
Forum: Einfach Qt
Thema: SIGNAL(), SLOT() - warum gleiche Parameter? (Anfängerfrage)
Antworten: 6
Zugriffe: 4554

Also war meine Vermutung ja doch richtig und ich kann nicht "clicked()" und "setWindowTitle()" benutzen, weil "clicked()" keine Parameter hat aber "setWindowTitle()" schon. Stimmt das jetzt so? Und meine Frage dazu war nun, ob ich den Namen des Fenster nun ele...
von valenterry
21. Februar 2007 18:12
Forum: Einfach Qt
Thema: SIGNAL(), SLOT() - warum gleiche Parameter? (Anfängerfrage)
Antworten: 6
Zugriffe: 4554

Ja hab ich schon gelesen. Qt's signals and slots mechanism ensures that if you connect a signal to a slot, the slot will be called with the signal's parameters at the right time. Signals and slots can take any number of arguments of any type. They are completely type safe. Meintest du speziell diese...
von valenterry
21. Februar 2007 17:41
Forum: Einfach Qt
Thema: SIGNAL(), SLOT() - warum gleiche Parameter? (Anfängerfrage)
Antworten: 6
Zugriffe: 4554

SIGNAL(), SLOT() - warum gleiche Parameter? (Anfängerfrage)

Hallo erstmal an alle, bin ganz neu hier. Ich hab mir das Buch "C++ GUI Programmierung mit QT4" gekauft. In diesem gibt es folgendes Codebeispiel: #include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton *button = new QPush...