strawberry-audio-player-win.../3rdparty/qocoa
Jonas Kvinge c4e75dea65 Fix macos build 2018-07-01 22:24:23 +02:00
..
CMakeLists.txt Fix compile with clang and openbsd 2018-05-14 17:57:37 +02:00
LICENSE.txt Initial commit. 2018-02-27 18:06:05 +01:00
README.md Initial commit. 2018-02-27 18:06:05 +01:00
TODO.md Initial commit. 2018-02-27 18:06:05 +01:00
qbutton.h Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qbutton_mac.mm Initial commit. 2018-02-27 18:06:05 +01:00
qbutton_nonmac.cpp Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qocoa_mac.h Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qprogressindicatorspinning.h Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qprogressindicatorspinning_mac.mm Initial commit. 2018-02-27 18:06:05 +01:00
qprogressindicatorspinning_nonmac.cpp Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qprogressindicatorspinning_nonmac.gif Initial commit. 2018-02-27 18:06:05 +01:00
qprogressindicatorspinning_nonmac.qrc Initial commit. 2018-02-27 18:06:05 +01:00
qsearchfield.h Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qsearchfield_mac.mm Initial commit. 2018-02-27 18:06:05 +01:00
qsearchfield_nonmac.cpp Includes, comments and bugfixes 2018-05-01 00:41:33 +02:00
qsearchfield_nonmac.qrc Fix macos build 2018-07-01 22:24:23 +02:00
qsearchfield_nonmac_clear.png Fix macos build 2018-07-01 22:24:23 +02:00
qsearchfield_nonmac_magnifier.png Fix macos build 2018-07-01 22:24:23 +02:00
qsearchfield_nonmac_magnifier_menu.png Fix macos build 2018-07-01 22:24:23 +02:00

README.md

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