<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 02/07/2015 12:12, Binit Amin a
écrit :<br>
</div>
<blockquote
cite="mid:eb42fa8c-0eef-422e-baa4-395388462a36@inchnzm02.tcsin.com"
type="cite">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: Andale Mono; font-size: 10pt; color:
#000000">Hi all,
<div><br>
</div>
<div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);"><span style="font-family: arial, helvetica,
sans-serif; font-size: small; line-height:
18.2000007629395px;">I am using python with </span><span
style="font-family: arial, helvetica, sans-serif;
font-size: small; line-height: 18.2000007629395px;">Pyqt4</span><span
style="font-family: arial, helvetica, sans-serif;
font-size: small; line-height: 18.2000007629395px;"> for</span><span
style="font-family: arial, helvetica, sans-serif;
font-size: small;"> making one GUI, In that I have to
attach one Dock Widget which should be movable on the GUI
irrespective of its initial position.</span></div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);"><span style="font-family: arial, helvetica,
sans-serif; font-size: small;">How to make that Dock
Widget movable on the screen.</span></div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);"><font size="2"><br>
</font></div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);"><span style="font-family: arial, helvetica,
sans-serif; font-size: small;">FYI I am using Fedora 19,
PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5</span></div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);"><font size="2" face="arial, helvetica, sans-serif"><br>
</font></div>
<div style="font-size: 10pt; background-color: rgb(255, 255,
255);">
<div style="font-family: 'Times New Roman'; font-size:
medium;"><font face="Andale Mono"><span style="font-size:
13.3333330154419px;">Any help is appreciated. Thank
you!</span></font></div>
<div style="font-family: 'Times New Roman'; font-size:
medium;"><span class="Apple-tab-span" style="white-space:
pre; font-size: 13.3333330154419px;"><font face="Andale
Mono"><br>
</font></span></div>
<div style="font-size: 13.3333330154419px;"><font size="2"
face="arial, helvetica, sans-serif">I am attaching one
sample program so that you can easily understand what
exactly I want.</font></div>
<div style="font-family: 'Times New Roman'; font-size:
medium;"><span style="font-family: 'Andale Mono';
font-size: 13.3333330154419px;">PFA.</span></div>
</div>
</div>
<span><br>
-- <br>
<span name="x"></span>Thanks & Regards<br>
Binit Amin<br>
Assistant System Engineer<br>
TATA Consultancy Services<br>
Cellno: +91-7276974159<br>
Mailto: <a class="moz-txt-link-abbreviated" href="mailto:binit.amin@tcs.com">binit.amin@tcs.com</a><br>
Website: <a class="moz-txt-link-freetext" href="http://www.tcs.com">http://www.tcs.com</a><span name="x"></span><br>
</span></div>
<p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
with <br>
self.dockWidget.setFeatures(QDockWidget.DockWidgetMovable)<br>
self.dockWidget.setAllowedAreas(Qt.LeftDockWidgetArea|Qt.RightDockWidgetArea)<br>
for example.<br>
<br>
<a class="moz-txt-link-freetext" href="http://pyqt.sourceforge.net/Docs/PyQt4/qdockwidget.html">http://pyqt.sourceforge.net/Docs/PyQt4/qdockwidget.html</a><br>
<br>
Vincent<br>
</body>
</html>