Clementine-audio-player-Mac.../3rdparty/qocoa
dmdmdm 949c20abdf Compress PNGs (second attempt) 2020-05-21 21:45:04 +01:00
..
CMakeLists.txt Fix Qt 5 build (#6246) 2019-01-02 15:02:34 +00:00
LICENSE.txt
Qocoa.pro
README.md
TODO.md
gallery.cpp
gallery.h
gallery.png Compress PNGs (second attempt) 2020-05-21 21:45:04 +01:00
main.cpp
qbutton.h
qbutton_mac.mm Qt 5 fixes 2018-11-21 10:31:17 +00:00
qbutton_nonmac.cpp
qocoa_mac.h Fix formatting 2020-01-05 00:48:51 +01:00
qprogressindicatorspinning.h
qprogressindicatorspinning_mac.mm
qprogressindicatorspinning_nonmac.cpp
qprogressindicatorspinning_nonmac.gif
qprogressindicatorspinning_nonmac.qrc
qsearchfield.h Fix formatting 2019-11-10 00:36:23 +01:00
qsearchfield_mac.mm
qsearchfield_nonmac.cpp

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