Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any UML-like modeling tool for QT signals and slots?

Tags:

uml

qt

Is it any uml-like modeling tool available that can design (draw) classes and can visually represent QT signals and slots, they connections?

like image 791
grigoryvp Avatar asked Mar 01 '23 01:03

grigoryvp


2 Answers

The signal/slog mechanism is essentially a mechanism for registering callbacks. So your question could be paraphrased as: "How do I model callbacks in UML". I'm not sure if there is a good answer since callbacks are not really an object oriented construction. Conceptually the observer pattern would be closest.

like image 178
StackedCrooked Avatar answered Mar 07 '23 05:03

StackedCrooked


You can try Enterprise Architect as it supports UML 2.1 and allow to create user defined diagrams.

like image 22
Rubens Farias Avatar answered Mar 07 '23 03:03

Rubens Farias