-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Virtual Piano Keyboard

   0.9  

Qt Widget

Score 64%
Virtual Piano Keyboard
zoom


Depends on  Qt 4.x
Downloads:  1971
Submitted:  Jul 12 2008
Updated:  Sep 25 2010

Description:

Virtual Piano Keyboard (Qt Designer plugin)

This is only a component (a widget), not a full program. If you want a real program made with it, please see:
http://www.qt-apps.org/content/show.php/Virtual+MIDI+Piano+Keyboard?content=88233




Changelog:

2010-09-25 0.9 Velocity Tint

Translate note velocity into key pressed color tint
Custom note names

2009-09-23 0.8 Raw & Black Keys

Raw keyboard events support.
SVG graphics giving black keys a nice 3D effect.

2009-08-03 0.7 Note Names

New properties: showLabels, useFlats and transpose.

2008-10-05 0.6 Reasonable limits

minNote and maxNote properties to limit the note numbers.
selectedColor property renamed to keyPressedColor.
keyboardMap fixes, mouse handling enhanced.

2008-09-05 0.5 Hash smoke

Speed optimisation and fixes

2008-08-31 0.4 Fashion keys

New highlight color property

2008-07-20 0.3 New rotation property

The new property allows to change, while working in the designer, the
rotation of the keyboard to show it vertical, or with any angle.

2008/07/13 0.2 bugs fixed.

2008/07/12 0.1 first release.




LicenseGPL
Source(vpiano-0.9.tar.bz2)
Source(vpiano-0.9.tar.gz)
Source(vpiano-0.9.zip)
Send to a friend
Subscribe
Other  Apps  from plcl
Report inappropriate content



-

 request

 
 by van4dium on: Jul 20 2008
 
Score 50%

Hi.

Is Possible to make vpiano vertical?


Reply to this

-

 Re: request

 
 by plcl on: Jul 20 2008
 
Score 50%

Hi,

Yes, it is easy. Use the rotate() method inherited from QGraphicsView. For instance, change the demo program in the VPiano class constructor, adding one line:

m_piano = new PianoKeybd(4, 3, this);
m_piano->rotate(270); // sets it vertical

You can use any transformation allowed by QGraphicsView like transform(), rotate(), scale(), shear(), and translate().

Regards,
Pedro


Reply to this

-

 Hey there

 
 by am75 on: Nov 17 2009
 
Score 50%

really nice widget you've created there!

Though, i ran into a small problem when compiled under linux the first time (ubuntu 8.04).

Quote:

rawkeybdapp.o: In function `RawKeybdApp::x11EventFilter(_XEvent*)':
rawkeybdapp.cpp:(.text+0x152): undefined reference to `XCheckIfEvent'


adding

Quote:

unix {
LIBS += -lX11
}


to the end of the plugin.pro file fixed the problem for me. I was just wondering how it could have been working for others using X11 without explicitly linking against libX11...
anyways. I like it alot.
Thanks for your great work!


Reply to this

-

 Re: Hey there

 
 by plcl on: Dec 20 2009
 
Score 50%

Hi,

Thanks, I'm glad you like it!

I'm using openSUSE here. The link command generated by qmake/make in my system looks like this:

Quote:
g++ -Wl,-O1 -shared -o libvpianokeybd.so pianoscene.o pianokey.o pianokeybd.o plugin.o keylabel.o rawkeybdapp.o moc_pianoscene.o moc_pianokeybd.o moc_plugin.o qrc_pianokeybd.o -L/usr/lib -lQtScript -L/usr/lib -pthread -pthread -lQtSvg -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread -lQtGui -pthread -lpng -lfreetype -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lQtDesigner -lpthread


As you can see, "-lX11" has been automatically added. I guess that Ubuntu's Qt4 or something in your environment is broken.


Regards,
Pedro

Reply to this

-

 Linking error in Mac OSX

 
 by plcl on: Jan 5 2010
 
Score 50%

Hi,

If you are trying to compile the widget sources in Mac OSX with Qt 4.6, please add the following lines to both demo.pro and plugin.pro:

Quote:

macx {
LIBS += -framework Carbon
}


This is not needed with Qt 4.5 or older.


Regards,
Pedro

Reply to this

Add commentBack




-
Cool Sites
QtitanDataGrid Advanced Grid for Qt

 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About Qt-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2006-2013 Qt-Apps.org Team  
All rights reserved. Qt-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
Qt is a trademarks of Nokia