| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Currently there's a duplication of the QString <-> NSString and
QUrl <-> NSURL functions.
This patch removes the private implementation and updates the code to
to use QtCore's functions directly.
Change-Id: I8fa613ac6753cc16fedd208f676f39ee2fec6bfa
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch aims to provide the missing Qt Mac Extras documentation
The conversion functions (e.g. NSData <=> QByteArray) are not
documented because they will either be moved to QtCore or
removed from QtMacExtras since already present in QtCore
Change-Id: I364be524966b353602bcf88218d9bb81042497ff
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
|
|
|
| |
The platform plugin will attach the toolbar to the
NSWindow when the NSWindow is created.
Change-Id: I550516a240df1f8ae94da2a225d9f63c76fffc6b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I1559e3cb17dd182f72e40ec75fcb987beb000f74
|
| |
| |
| |
| |
| | |
Change-Id: Ieddbcb3641e284316670c6681a34b167a5c82f8f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I9ca4507914df98793d210d8fc7a466c9a14d5b53
|
| |\
| | |
| | |
| | | |
Change-Id: Iecbe3b7f6f6d75e615155c4103e0fa269ca6d3d2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds minimal documentation for examples and ensures
that Mac Extras examples are shown in Qt Creator's
example list.
Task-number: QTBUG-33682
Change-Id: I6ba88bc7a1b22788d19d66d7d79dd486cd5add8c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
./qmacpasteboardmime.h:57:10: warning: private field 'type' is not used [-Wunused-private-field]
char type;
^
Change-Id: I69cfd93de446cd78d32c2d346b8cb1cb1b0acd93
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
| |/
| |
| |
| |
| |
| | |
Change-Id: Iee51360e6a253cb5037acc888c5569a247f33cc1
Reviewed-by: Matti Paaso <matti.paaso@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I6f16c9f6c802300b076765d543d96c8b9a8b4da1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 5.2, the HTML output is in a flatter structure and when they are
hosted in qt-project.org/doc, the documentation will be found at
http://qt-project.org/doc/qt-$QT_VER
The url variable is used by projects outside of Qt 5 which need
to link to Qt 5 documentation, such as Qt Creator.
Task-number: QTBUG-34584
Change-Id: I6f00117c1980f5ceb59d71fedbe986f02ddab39b
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-34031
Change-Id: I959596206c8090f2bc38bba05a27678471c07480
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I01d27f1c493cf8108a9ff6e488e036bea7bfca12
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
An inline function was declared extern in a mm file.
Change-Id: Ie9df92117c5b8f926b236a11cc3f66558d99a47d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Name the header after its namespace, to reduce the number of names
developers must remember.
Change-Id: I433263d8a0d70993d5929adeb1198f3e05df8b36
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These helper functions wrapp the necessary objective-c calls to set or
retrieve a text (OS X) or number (iOS) on the application icon, also
known as badge.
Change-Id: I34a82c5abc073b63442e12c49a864e65b5428d83
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I150f544a868db3712d78439af53924e90d29a39d
|
| |
| |
| |
| |
| |
| |
| | |
Used for navigation in offline mode.
Change-Id: I7bd9f11c14cd2197bbc3f5039500a04f5aa4747d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The .gitattributes, .gitignore, .commit-template files do not need to be
present in packaged sources, as they are for people using the Git
repository. People who download tarballs usually don't reimport into
Git -- they should just download the actual repositories.
Meanwhile, the .tag file is quite useful. Instead of making Git extract
to the useless SHA-1 of the "$Id$\n" string, ask git-archive to store
the SHA-1 of the commit being packaged.
Change-Id: Id6674657a9072d875e13771aadde842e1dfb3b93
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I98b21d6562a154d9eab5b896cf6f619188c2f0ef
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|\|
| |
| |
| | |
Change-Id: Ic97db9f545108ff409016916c343ac903a233ffe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create documentation structure for the module
- Module qdocconf
- Documentation pages for module index, namespace/classes,
examples (not much content yet)
Other doc-related changes
- Enable running 'make docs' on all platforms
- Move examples under examples/macextras for a clean
installing to QT_INSTALL_EXAMPLES
- Ensure documented classes use correct \inmodule and
\since commands
- Add \namespace QtMac
- Other minor fixes
Change-Id: I1376d68fcd7ab324a5d3355f1d15914092900e5b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I6e1f329b2d4bcf6b54a9db078c5f7064224e8480
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to use QtMacExtras from other
modules without adding a QtWidgets dependency. It
also makes it possible to use QtMacExtras from
QtWidgets.
Widget-related classes and functions will be added
to QtWidgets.
Specifics:
Make QMacNativeToolBar private, for use by QMainWindow::
setUnifiedTitleAndToolBarOnMac(). Remove the QAction
based APIs. Remove the example. We can make QMacNativeToolBar
public again when the API is ready and documented.
Remove misc functions: toNSMenu, setDockMenu,
isMainWindow.
Make toCfSTring/Url private pending inclusion into
QtCore.
Change-Id: Ic55e78d8ef923149c23884f6589732f7dfb94153
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
|
|
|
| |
Change-Id: If6a01685a9fc5ff59dd02dbeeef7e8682cefae39
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
|
|
|
|
|
| |
Change-Id: I7088aeec399082fc32ebc2c215163b552f25ff60
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
|
|
|
|
|
|
| |
Change-Id: If0b1b999466740661f158ab649462fae51800554
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
|
|
|
|
|
| |
Change-Id: Iaad9cdc897ba19acfdbfc136e4baf959cabc3f70
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I465ceee790e63cf2d264dc7d81839a153b11bdcf
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
|
|
|
|
| |
Applied patch pointed to from QTBUG-31363 that ensures that
we include system headers before Qt/project headers.
Task-number: QTBUG-31363
Change-Id: I1aae10c9be0337aab8f84044e2fcfe04e1e75c41
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
| |
Change-Id: Ie2073c629dcca6e8bdf33b803c9015b0373fc3a5
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
|
|
|
|
|
|
|
|
| |
This means that we are going to use the same branch name for the
dependencies as the branch of the repository under test.
Change-Id: I6bf7bfaf03d8a999ed63167c487225eb7153a55a
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
| |
Change-Id: I2334aac6c70861ef18875a4b5ef4116b9eb5592e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
| |
Change-Id: If6bc3fa07068ea1991c1740127bbd463b796cc07
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
| |
Change-Id: I8c225d0f2c74acaf87cdc7d6559cdac3cd7d11fc
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
| |
Change-Id: Ibcde4444cef08fd7510f4d0ccc3bf60c16731d77
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb
and is no longer necessary or used.
Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html
Change-Id: I3202f286c119b5cb2affd0f6ef3b1ae2135b0152
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
| |
Qt headers must use Q_SIGNALS.
Change-Id: Ie110a0b236c4ccc0cc317ccb90cf60fe1a78280b
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unlike other operating systems, OS X has two distinct concepts for
window activation that affect behavior and drawing - key and main.
The key window is what Qt calls "active".
The differences between key and main windows are documented here:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html
Change-Id: I2071f163e4774bbbcddbac24078086caa4466443
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
|
|
|
|
|
|
| |
Depends on https://codereview.qt-project.org/#change,54607 in qtbase
Change-Id: Id95038b0a6f3383358a4d688ee2c5e6907ebe7c0
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
|
|
|
|
|
|
| |
This one was missed in the initial batch of renamings.
Change-Id: I706116c21f4fc76f0e417185d87d627d15271926
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
|
|
|
|
| |
Change-Id: I391f7ecaee0b57e5bb61bca1d0c966675af115e4
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|
|
|
|
|
| |
Change-Id: Idbfaa54faa790c29b206c788159709830d846cb3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
qmacfunctions.mm contains implementations of functions for OS X and iOS.
qmacfunctions_mac.mm contains OS X only implementations.
qmacfunctions_ios.mm would contain iOS only implementations.
qmacfunctions_p.h contains shared helpers for the above three files.
Change-Id: I3222c2276c1de33e3086fdcc0b27eeab57e94175
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
|
| |
qt_mac_set_dock_menu is now just a compatibility synonym.
Change-Id: I16b9b04004a6821ae38180b7f3ec1b96fcd0115c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
| |
Change-Id: Ie5d49eee14b65ee982adbbc8f111f2055673c7f1
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
| |
Change-Id: I9dc0730a837ed091de6285f1b6f8b014f762a921
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
All NSToolbars are drawn in unified style since OS X 10.5 and this
cannot be changed. Plus, the unified style is a window mask, which has
more to do with NSWindow than NSToolbar.
In light of this, using the term "native" makes more sense.
Change-Id: I6f1fb4c0dc853290c68aab30092bcf5136493883
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|