This file is indexed.

/usr/share/qt5/doc/qtquickdialogs/qtquickdialogs-systemdialogs-example.html is in qtquickcontrols5-doc-html 5.9.5-0ubuntu1.

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
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- systemdialogs.qdoc -->
  <title>Qt Quick System Dialog Examples | Qt Quick Dialogs 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtquickdialogs-index.html">Qt Quick Dialogs</a></td><td ><a href="qtquickdialog-examples.html">Qt Quick Examples - Dialogs</a></td><td >Qt Quick System Dialog Examples</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick System Dialog Examples</h1>
<span class="subtitle"></span>
<!-- $$$systemdialogs-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/systemdialogs-example.jpg" alt="" /></p><p>This example demonstrates the system dialogs in the <a href="qtquickdialogs-index.html">Qt Quick Dialogs</a> module. The appearance and behavior is platform-dependent.</p>
<p>A <a href="qml-qtquick-dialogs-filedialog.html">FileDialog</a> is used to choose a single file, multiple files or a single directory, depending on how it is configured.</p>
<pre class="qml">

  <span class="type"><a href="qml-qtquick-dialogs-filedialog.html">FileDialog</a></span> {
      <span class="name">id</span>: <span class="name">fileDialog</span>
      <span class="name">visible</span>: <span class="name">fileDialogVisible</span>.<span class="name">checked</span>
      <span class="name">modality</span>: <span class="name">fileDialogModal</span>.<span class="name">checked</span> ? <span class="name">Qt</span>.<span class="name">WindowModal</span> : <span class="name">Qt</span>.<span class="name">NonModal</span>
      <span class="name">title</span>: <span class="name">fileDialogSelectFolder</span>.<span class="name">checked</span> ? <span class="string">&quot;Choose a folder&quot;</span> :
          (<span class="name">fileDialogSelectMultiple</span>.<span class="name">checked</span> ? <span class="string">&quot;Choose some files&quot;</span> : <span class="string">&quot;Choose a file&quot;</span>)
      <span class="name">selectExisting</span>: <span class="name">fileDialogSelectExisting</span>.<span class="name">checked</span>
      <span class="name">selectMultiple</span>: <span class="name">fileDialogSelectMultiple</span>.<span class="name">checked</span>
      <span class="name">selectFolder</span>: <span class="name">fileDialogSelectFolder</span>.<span class="name">checked</span>
      <span class="name">nameFilters</span>: [ <span class="string">&quot;Image files (*.png *.jpg)&quot;</span>, <span class="string">&quot;All files (*)&quot;</span> ]
      <span class="name">selectedNameFilter</span>: <span class="string">&quot;All files (*)&quot;</span>
      <span class="name">sidebarVisible</span>: <span class="name">fileDialogSidebarVisible</span>.<span class="name">checked</span>
      <span class="name">onAccepted</span>: {
          <span class="name">console</span>.<span class="name">log</span>(<span class="string">&quot;Accepted: &quot;</span> <span class="operator">+</span> <span class="name">fileUrls</span>)
          <span class="keyword">if</span> (<span class="name">fileDialogOpenFiles</span>.<span class="name">checked</span>)
              <span class="keyword">for</span> (<span class="keyword">var</span> <span class="name">i</span> = <span class="number">0</span>; <span class="name">i</span> <span class="operator">&lt;</span> <span class="name">fileUrls</span>.<span class="name">length</span>; ++<span class="name">i</span>)
                  <span class="name">Qt</span>.<span class="name">openUrlExternally</span>(<span class="name">fileUrls</span>[<span class="name">i</span>])
      }
      <span class="name">onRejected</span>: { <span class="name">console</span>.<span class="name">log</span>(<span class="string">&quot;Rejected&quot;</span>) }
  }

</pre>
<p>A <a href="qml-qtquick-dialogs-colordialog.html">ColorDialog</a> is used to choose a color, with or without alpha (transparency) depending on how it is configured.</p>
<pre class="qml">

  <span class="type"><a href="qml-qtquick-dialogs-colordialog.html">ColorDialog</a></span> {
      <span class="name">id</span>: <span class="name">colorDialog</span>
      <span class="name">visible</span>: <span class="name">colorDialogVisible</span>.<span class="name">checked</span>
      <span class="name">modality</span>: <span class="name">colorDialogModal</span>.<span class="name">checked</span> ? <span class="name">Qt</span>.<span class="name">WindowModal</span> : <span class="name">Qt</span>.<span class="name">NonModal</span>
      <span class="name">title</span>: <span class="string">&quot;Choose a color&quot;</span>
      <span class="name">color</span>: <span class="string">&quot;green&quot;</span>
      <span class="name">showAlphaChannel</span>: <span class="name">colorDialogAlpha</span>.<span class="name">checked</span>
      <span class="name">onAccepted</span>: { <span class="name">console</span>.<span class="name">log</span>(<span class="string">&quot;Accepted: &quot;</span> <span class="operator">+</span> <span class="name">color</span>) }
      <span class="name">onRejected</span>: { <span class="name">console</span>.<span class="name">log</span>(<span class="string">&quot;Rejected&quot;</span>) }
  }

</pre>
<p>The example can be built as a standalone executable, but each type of dialog is demonstrated in a separate QML file which can also be run separately with qmlscene.</p>
<p>Files:</p>
<ul>
<li><a href="qtquickdialogs-systemdialogs-colordialogs-qml.html">systemdialogs/ColorDialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-customdialogs-qml.html">systemdialogs/CustomDialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-filedialogs-qml.html">systemdialogs/FileDialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-fontdialogs-qml.html">systemdialogs/FontDialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-messagedialogs-qml.html">systemdialogs/MessageDialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-systemdialogs-qml.html">systemdialogs/systemdialogs.qml</a></li>
<li><a href="qtquickdialogs-systemdialogs-main-cpp.html">systemdialogs/main.cpp</a></li>
<li><a href="qtquickdialogs-systemdialogs-systemdialogs-pro.html">systemdialogs/systemdialogs.pro</a></li>
<li><a href="qtquickdialogs-systemdialogs-systemdialogs-qrc.html">systemdialogs/systemdialogs.qrc</a></li>
</ul>
</div>
<!-- @@@systemdialogs -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   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>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>