This file is indexed.

/usr/share/qt5/doc/qtdesigner/designer-buddy-mode.html is in qttools5-doc-html 5.2.1-8build1.

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" />
<!-- designer-manual.qdoc -->
  <title>Qt Designer's Buddy Editing Mode | QtDesigner </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>Qt 5.2</li>
<li><a href="qtdesigner-manual.html">Qt Designer Manual</a></li>
<li>Qt Designer's Buddy Editing Mode</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
  <link rel="prev" href="designer-connection-mode.html" />
  <link rel="next" href="designer-tab-order.html" />
<p class="naviNextPrevious headerNavi">
<a class="prevPage" href="designer-connection-mode.html">Qt Designer's Signals and Slots Editing Mode</a>
<a class="nextPage" href="designer-tab-order.html">Qt Designer's Tab Order Editing Mode</a>
</p><p/>
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#linking-labels-to-buddy-widgets">Linking Labels to Buddy Widgets</a></li>
<li class="level1"><a href="#removing-buddy-connections">Removing Buddy Connections</a></li>
</ul>
</div>
<h1 class="title">Qt Designer's Buddy Editing Mode</h1>
<span class="subtitle"></span>
<!-- $$$designer-buddy-mode.html-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/designer-buddy-mode.png" alt="" /></p><p>One of the most useful basic features of Qt is the support for buddy widgets. A buddy widget accepts the input focus on behalf of a <a href="../qtwidgets/qlabel.html">QLabel</a> when the user types the label's shortcut key combination. The buddy concept is also used in Qt's <a href="../qtwidgets/model-view-programming.html">model/view</a> framework.</p>
<a name="linking-labels-to-buddy-widgets"></a>
<h2>Linking Labels to Buddy Widgets</h2>
<p>To enter buddy editing mode, open the <b>Edit</b> menu and select <b>Edit Buddies</b>. This mode presents the widgets on the form in a similar way to <a href="designer-connection-mode.html">signals and slots editing mode</a> but in this mode, connections must start at label widgets. Ideally, you should connect each label widget that provides a shortcut with a suitable input widget, such as a <a href="../qtwidgets/qlineedit.html">QLineEdit</a>.</p>
<a name="makingbuddies"></a><table class="generic">
 <tr valign="top" class="odd"><td ><img src="images/designer-buddy-making.png" alt="" /></td><td ><b>Making Buddies</b><p>To define a buddy widget for a label, click on the label, drag the connection to another widget on the form, and release the mouse button. The connection shown indicates how input focus is passed to the buddy widget. You can use the form preview to test the connections between each label and its buddy.</p>
</td></tr>
</table>
<a name="removing-buddy-connections"></a>
<h2>Removing Buddy Connections</h2>
<p>Only one buddy widget can be defined for each label. To change the buddy used, it is necessary to delete any existing buddy connection before you create a new one.</p>
<p>Connections between labels and their buddy widgets can be deleted in the same way as signal-slot connections in signals and slots editing mode: Select the buddy connection by clicking on it and press the <b>Delete</b> key. This operation does not modify either the label or its buddy in any way.</p>
</div>
<!-- @@@designer-buddy-mode.html -->
<p class="naviNextPrevious footerNavi">
<a class="prevPage" href="designer-connection-mode.html">Qt Designer's Signals and Slots Editing Mode</a>
<a class="nextPage" href="designer-tab-order.html">Qt Designer's Tab Order Editing Mode</a>
</p>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2013 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>