Qocoa is a collection of Qt wrappers for OSX's Cocoa widgets.
Objective-C C++ IDL
Pull request Compare This branch is 2 commits ahead, 24 commits behind MikeMcQuaid:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CMakeLists.txt
LICENSE.txt
Qocoa.pro
README.md
TODO.md
bookmarks.png
button_knob.png
button_surround.png
gallery.cpp
gallery.h
gallery.png
main.cpp
qbutton.h
qbutton_mac.mm
qbutton_nonmac.cpp
qocoa_mac.h
qprogressindicatorspinning.h
qprogressindicatorspinning_mac.mm
qprogressindicatorspinning_nonmac.cpp
qprogressindicatorspinning_nonmac.gif
qprogressindicatorspinning_nonmac.qrc
qsearchfield.h
qsearchfield_mac.mm
qsearchfield_nonmac.cpp
qsearchfield_nonmac.qrc
qsearchfield_nonmac_clear.png
qsearchfield_nonmac_magnifier.png
qsearchfield_nonmac_magnifier_menu.png
qslidebutton.h
qslidebutton_mac.mm
qslidebutton_nonmac.cpp
qtoolbartabdialog.h
qtoolbartabdialog_mac.mm
qtoolbartabdialog_nonmac.cpp
resources.qrc
user-home.png
user-trash.png

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.

Magnifier and EditClear icons taken from QtCreator and are licensed under the LGPL.

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

Gallery

Qocoa Gallery