QSwitch
Qt Widgets
Score 74%
Description:

QSwitch is a binary switch custom widget plugin for Qt Designer 4.X
More details on www.sereno-online.com
Last changelog:

9 years ago

Added antialiasing

Alpix

1 year ago

...zip is no longer available

Report

Badam

1 year ago

Hello community.
Even if this very very usefull plugin haven't been updated since a while, I'll post here the method to make it compatible with Qt5 (I made it with Qt 5.4.2). It takes me quite long time to make it running, so if it can be useful for someone...


In qswitchplugin.pro, change CONFIG line by :
QT += widgets designer
CONFIG += plugin release

In qswitchplugin.h, between Q_OBJECT and Q_INTERFACES, add :
Q_PLUGIN_METADATA(IID "org.qt.QDesignerCustomWidgetInterface")

In qswitchplugin.cpp, before #include <QtPlugin>, add :
#include <QtDesigner>
AND comment the last line :
Q_EXPORT_PLUGIN2(customwidgetplugin, QSwitchPlugin)

In qswitch.h, remove ';' add the end of each Q_PROPERTY line.

Report

pospiech

8 years ago

The .pro file must include the following

CONFIG += build_all

to build not only the debug version.

Also there is no readme file or examples which explains how to use the code.

Report

MarkoSan

9 years ago

Does anyone have a wav of that cool mechanical sound produced when the switch, which is represented by this widget, state is switched?

Report

qphoton

9 years ago

Nice Idea!
I mean to add sounds to widgets.
I'll try to do something for this issue.
bye
paolo

Report

ziuchkov

9 years ago

Something's broken on the voting. I voted "good" and the rating score went down. I even double-checked the location in my address bar, and confirmed I did indeed vote "good". I swear this has happened a couple other times in the past few days too. Sorry =/.

Report

qphoton

9 years ago

:-)

Report

9 years ago

Added antialiasing

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.3
updated Jul 25 2010
added Dec 27 2007
downloads today
0
page views today 2