/usr/share/qt5/doc/qtdoc/desktop-integration.html is in qt5-doc-html 5.3.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- desktop-integration.qdoc -->
<title>Desktop Integration | QtDoc 5.3</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li><a href="index.html">Qt 5.3</a></li>
<li>Desktop Integration</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#useful-classes">Useful Classes</a></li>
<li class="level1"><a href="#opening-external-resources">Opening External Resources</a></li>
<li class="level1"><a href="#system-tray-icons">System Tray Icons</a></li>
<li class="level1"><a href="#desktop-widgets">Desktop Widgets</a></li>
</ul>
</div>
<h1 class="title">Desktop Integration</h1>
<span class="subtitle"></span>
<!-- $$$desktop-integration.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt applications behave well in the user's desktop environment, but certain integrations require additional, and sometimes platform specific, techniques.</p>
<a name="useful-classes"></a>
<h2>Useful Classes</h2>
<p>Various classes in Qt are designed to help developers integrate applications into users' desktop environments. These classes enable developers to take advantage of native services while still using a cross-platform API.</p>
<table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtgui/qdesktopservices.html">QDesktopServices</a></p></td><td class="tblDescr"><p>The QDesktopServices class provides methods for accessing common desktop services.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a></p></td><td class="tblDescr"><p>The QDesktopWidget class provides access to screen information on multi-head systems.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtwidgets/qsystemtrayicon.html">QSystemTrayIcon</a></p></td><td class="tblDescr"><p>The QSystemTrayIcon class provides an icon for an application in the system tray.</p></td></tr>
</table>
<a name="opening-external-resources"></a>
<h2>Opening External Resources</h2>
<p>Although Qt provides facilities to handle and display resources, such as <a href="../qtgui/qimageiohandler.html">common image formats</a> and <a href="../qtgui/qtextdocument.html">HTML</a>, it is sometimes necessary to open files and external resources using external applications.</p>
<p><a href="../qtgui/qdesktopservices.html">QDesktopServices</a> provides an interface to services offered by the user's desktop environment. In particular, the <a href="../qtgui/qdesktopservices.html#openUrl">openUrl()</a> function is used to open resources using the appropriate application, which may have been specifically configured by the user.</p>
<a name="system-tray-icons"></a>
<h2>System Tray Icons</h2>
<p>Many modern desktop environments feature docks or panels with <i>system trays</i> in which applications can install icons. Applications often use system tray icons to display status information, either by updating the icon itself or by showing information in "balloon messages". Additionally, many applications provide pop-up menus that can be accessed via their system tray icons.</p>
<p>The <a href="../qtwidgets/qsystemtrayicon.html">QSystemTrayIcon</a> class exposes all of the above features via an intuitive Qt-style API that can be used on all desktop platforms.</p>
<a name="desktop-widgets"></a>
<h2>Desktop Widgets</h2>
<p>On systems where the user's desktop is displayed using more than one screen, certain types of applications may need to obtain information about the configuration of the user's workspace to ensure that new windows and dialogs are opened in appropriate locations.</p>
<p>The <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a> class can be used to monitor the positions of widgets and notify applications about changes to the way the desktop is split over the available screens. This enables applications to implement policies for positioning new windows so that, for example, they do not distract a user who is working on a specific task.</p>
</div>
<!-- @@@desktop-integration.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2014 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|