Pyqt5 Button text abfragen im worker Thread
- __blackjack__
- User
- Beiträge: 14428
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@bachatero18: Man sollte so gut wie nie den Text eines Button auslesen müssen. Du hast da offenbar die Programmlogik nicht sauber von der GUI getrennt. Ob die Simulation aktiv ist fragt man die Simulation, nicht die GUI.
“Design patterns are kind of like sarcasm: hard to use well, not always appropriate,
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
