1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 00:09:14 +01:00
Clementine-audio-player-Mac.../3rdparty/qocoa
Arnaud Bienner 985568d4c1 Use actual characters instead of keycode
While keycode are "hardware independent" they don't take into account keyboard layout (e.g. 'q' keycode would actually be 'a' on an AZERTY keyboard)
Fixes issue #4708
2015-02-09 20:45:09 +01:00
..
CMakeLists.txt Remove qsearchfield_nonmac.png on 3rparty directory, as it's not used since revision 66a92ae909 2012-07-14 16:17:23 +02:00
gallery.cpp Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
gallery.h Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
gallery.png Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
LICENSE.txt Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
main.cpp Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qbutton_mac.mm Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qbutton_nonmac.cpp Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qbutton.h Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qocoa_mac.h Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
Qocoa.pro Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qprogressindicatorspinning_mac.mm Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qprogressindicatorspinning_nonmac.cpp Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qprogressindicatorspinning_nonmac.gif Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qprogressindicatorspinning_nonmac.qrc Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qprogressindicatorspinning.h Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
qsearchfield_mac.mm Use actual characters instead of keycode 2015-02-09 20:45:09 +01:00
qsearchfield_nonmac.cpp Make the new non-mac search fields look the same as the old LineEdit 2012-07-15 16:58:13 +01:00
qsearchfield.h Forward setFocus() in QSearchField. 2012-07-12 16:51:11 +02:00
README.md Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
TODO.md Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00

Qocoa

Qocoa is a collection of Qt wrappers for OSX's Cocoa widgets.

Features

  • basic fallback to sensible Qt types on non-OSX platforms
  • shared class headers which expose no implementation details
  • typical Qt signal/slot-based API
  • trivial to import into projects (class header/implementation, single shared global header)

Building

git clone git://github.com/mikemcquaid/Qocoa.git
cd Qocoa
qmake # or cmake .
make

Status

Qocoa classes are currently provided for NSButton, a spinning NSProgressIndicator and NSSearchField. There is a TODO list for classes I hope to implement.

Usage

For each class you want to use copy the qocoa_mac.h, $CLASS.h, $CLASS_mac.* and $CLASS_nonmac.* files into your source tree and add them to your buildsystem. Examples are provided for CMake and QMake.

Contact

Mike McQuaid

License

Qocoa is licensed under the MIT License. The full license text is available in LICENSE.txt.

The icons are taken from the Oxygen Project and are licensed under the Creative Commons Attribution-ShareAlike 3.0 License.

Qocoa Gallery