Create custom widgets in QT like C#
-
Do you want this in Qt or QML ? If you working with Qt look at Analog Clock example in Qt Assistant. It will give you good details. In order to write your widget, you need to inherit from QWidget and implement paintEvent(...) method. If you want to make it available in Designer, you need to write Designer Plugin for the same. Refer the Writing Qt Designer Plugins.