aboutsummaryrefslogtreecommitdiffstats
path: root/examples/macextras/mactoolbar/mactoolbar.qrc
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-12-09 11:01:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-10 11:48:04 +0100
commit6c8706cdfa961a42230048e944613639a3c25536 (patch)
tree0b15fa7642d00524e05ed7b1a8c8a9871ef686d1 /examples/macextras/mactoolbar/mactoolbar.qrc
parent2f2ba9d199154732d942aa4c18874e40446919d5 (diff)
Rewrite the Mac native toolbar classes.
Rename the classes to QMacToolBar and QMacToolBarItem. (Keep the Qt-style ToolBar name capitalization.) API-review and document a core set of the API, remove the rest. Missing functionality can be added back later on. Add a simple QWindow-based mactoolbar example that shows the core toolbar functionality. Add manual test for more comprehensive testing. Make the QToolbarItem properties actually work, you can now change the text and icon after the toolbar has been displayed. Update license headers. Change-Id: I99fb207df7f1b3cf0d5df178aa863c77cd372a1f Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'examples/macextras/mactoolbar/mactoolbar.qrc')
-rw-r--r--examples/macextras/mactoolbar/mactoolbar.qrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/macextras/mactoolbar/mactoolbar.qrc b/examples/macextras/mactoolbar/mactoolbar.qrc
new file mode 100644
index 0000000..04a9419
--- /dev/null
+++ b/examples/macextras/mactoolbar/mactoolbar.qrc
@@ -0,0 +1,5 @@
+<RCC>
+ <qresource prefix="/">
+ <file>qtlogo.png</file>
+ </qresource>
+</RCC>