KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
Go to file
Keith Bennett f52f6e2d44 Squashed 'src/gui/qocoa/' content from commit ffe23cb
git-subtree-dir: src/gui/qocoa
git-subtree-split: ffe23cbb2f221bc9eacd1de2134c2947fed71c12
2014-03-22 17:02:43 +00:00
.gitignore Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
CMakeLists.txt Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
gallery.cpp Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
gallery.h Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
gallery.png Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
LICENSE.txt Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
main.cpp Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qbutton_mac.mm Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qbutton_nonmac.cpp Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qbutton.h Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qocoa_mac.h Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
Qocoa.pro Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qprogressindicatorspinning_mac.mm Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qprogressindicatorspinning_nonmac.cpp Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qprogressindicatorspinning_nonmac.gif Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qprogressindicatorspinning_nonmac.qrc Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qprogressindicatorspinning.h Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_mac.mm Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_nonmac_clear.png Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_nonmac_magnifier_menu.png Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_nonmac_magnifier.png Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_nonmac.cpp Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield_nonmac.qrc Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
qsearchfield.h Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
README.md Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00:00
TODO.md Squashed 'src/gui/qocoa/' content from commit ffe23cb 2014-03-22 17:02:43 +00: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.

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.

Qocoa Gallery