QSwitch

Qt Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
6 .7
Description:

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

10 years ago

Added antialiasing

9

Alpix

4 years ago

...zip is no longer available

Report

9

Badam

4 years 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

11 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

12 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

C

qphoton

12 years ago

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

Report

ziuchkov

12 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

C

qphoton

12 years ago

:-)

Report

10 years ago

Added antialiasing

12345678910
3
product-maker Alpix Feb 15 2016 9 excellent
product-maker Badam Oct 07 2015 9 excellent
product-maker Deusdies Jan 30 2012 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3
updated Jul 25 2010
added Dec 27 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags