Skip to content
:coffee: Qt wrappers for OS X Cocoa widgets.
C++ Objective-C++ CMake QMake
Find file
Latest commit a027b88 @ArnaudBienner ArnaudBienner Merge pull request #20 from ArnaudBienner/better_copy_cut_actions
Use Cocoa actions for search field copy/cut/paste instead of trying t…
Failed to load latest commit information.
.gitignore Add .gitignore.
.travis.yml Fix Travis CI.
CMakeLists.txt Fix blurry font on retina display for the demo application
Info.plist.in Add a comment to explain why we need this file
LICENSE.txt Initial commit
Qocoa.pro travis.yml: (ab)use objective-c language for OS X.
README.md README: update status.
TODO.md Spinning NSProgressIndicator is complete.
gallery.cpp Revert changes on gallery I made for testing
gallery.h Revert changes on gallery I made for testing
gallery.png Extend QButton API.
main.cpp Port Qocoa to Qt5
qbutton.h Fix macro used to detect OS X 10.7 for Qt 4.8.
qbutton_mac.mm Fix macro used to detect OS X 10.7 for Qt 4.8.
qbutton_nonmac.cpp Fix memory management issues.
qocoa_mac.h Port Qocoa to Qt5
qprogressindicatorspinning.h Fix QProgressIndicatorSpinning all issues.
qprogressindicatorspinning_mac.mm Fix QProgressIndicatorSpinning all issues.
qprogressindicatorspinning_nonmac.cpp Fix QProgressIndicatorSpinning all issues.
qprogressindicatorspinning_nonmac.gif Fix QProgressIndicatorSpinning all issues.
qprogressindicatorspinning_nonmac.qrc Fix QProgressIndicatorSpinning all issues.
qsearchfield.h Support disabling search field.
qsearchfield_mac.mm Use Cocoa actions for search field copy/cut/paste instead of trying t…
qsearchfield_nonmac.cpp Support disabling search field.
qsearchfield_nonmac.qrc QSearchField: support context menu.
qsearchfield_nonmac_clear.png QSearchField: support context menu.
qsearchfield_nonmac_magnifier.png QSearchField: support context menu.
qsearchfield_nonmac_magnifier_menu.png QSearchField: support context menu.

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

I'm not personally working on this any more but will accept pull-requests.

Build Status

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

Something went wrong with that request. Please try again.