<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde">
    <title>gmane.comp.python.pyqt-pykde</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13822"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13821"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13820"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13819"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13818"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13817"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13816"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13815"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13814"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13813"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13812"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13811"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13810"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13809"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13808"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13807"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13806"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13805"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13804"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13803"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13822">
    <title>Re: Detecting if a column has been resized by the user;auto-stretching columns.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13822</link>
    <description>

Then there is a solution. It's quite well hidden:

  tableWidget.horizontalHeader().setStretchLastSection(True)
      
It's the header that handles the width of each column, which is obvious
if you think about tables in a certain way, but it seems to catch a lot
of people out.

David
</description>
    <dc:creator>David Boddie</dc:creator>
    <dc:date>2008-12-04T00:07:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13821">
    <title>Re: subprocess.Popen() crash after QApplication()</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13821</link>
    <description/>
    <dc:creator>Brian Kelley</dc:creator>
    <dc:date>2008-12-03T18:43:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13820">
    <title>Re: Detecting if a column has been resized by the user;auto-stretching columns.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13820</link>
    <description>

Thanks for the response, but i saw that in the documentation before asking, and it's not what i'm looking for. The columns for my purpose do not need to be fully stretched out, i just need the last column in the view to auto-stretch if there is space for it to take up. Since QTableWidget does not by default support HTML, i had attempted two methods into getting it to display HTML. The first was subclassing QItemDelegate and QTableWidgetItem. The other was setting a QLabel as a table cell's widget. However, both of them have undesirable consequences which i have been trying to solve. The common undesirable consequence is that both attempts do not give the proper (i believe) size hints for the table cell, so double-clicking on the row's or column's edge causes an inaccurate resize.

In attempting to detect if a column has been resized by the user, i thought 

   tableWidget.__class__.columnResized = self.columnResized

would help, but it didn't. The reason why i need to detect if the user resized the column </description>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-12-03T17:10:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13819">
    <title>Bugs and Question in doc/examples/tutorials/t10.py</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13819</link>
    <description/>
    <dc:creator>Grissiom</dc:creator>
    <dc:date>2008-12-03T15:02:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13818">
    <title>Re: Drag status message</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13818</link>
    <description>

OK, sounds good so far.


Have you tried calling self.statusBar().showMessage() instead?


If the above suggestion works then I have an idea why self.setStatusTip()
does not; otherwise, some more investigation will be required. :-)


exec_() is creating an event loop, but events should still be delivered to
the window. It could just be that changing the status tip on its own isn't
enough to display a new message.

David

</description>
    <dc:creator>David Boddie</dc:creator>
    <dc:date>2008-12-03T01:09:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13817">
    <title>Re: Arbitrary number of copies of groupbox?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13817</link>
    <description>

As in rendering them without creating new group boxes or actually creating
as many group boxes as you need?

David
</description>
    <dc:creator>David Boddie</dc:creator>
    <dc:date>2008-12-03T01:02:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13816">
    <title>Display and image in qtreewidgetitem?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13816</link>
    <description>I'm trying to display an image as part of a qtreewidgetitem. Figured I'd 
use setIcon and then resize it but when I run this bit of code:

icon = QtGui.QIcon()icon.addPixmap(QtGui.QPixmap(thumbnailPath), 
QtGui.QIcon.Normal, QtGui.QIcon.Off)
reportUI.setIcon(0, icon)
reportUI.setIconSize(0, QtCore.QSize(240, 120))

I get this error:

Traceback (most recent call last):
   File "Z:\_USERS\Christian\work\odTools\src\odToolsDlg.py", line 1982, 
in on_report_CreateButton_clicked
     reportUI.setIconSize(0, QtCore.QSize(240, 120))
AttributeError: setIconSize

I believe this should be valid, any ideas? Or is there a way to display 
an image in a qtreewidget?

Christian


Iliya Gogolev wrote:
</description>
    <dc:creator>Christian Aubert</dc:creator>
    <dc:date>2008-12-02T22:29:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13815">
    <title>Re: Phonon.AudioOutput is NOT a subclass of Phonon.MediaNode</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13815</link>
    <description>Hi,

Jan Holthuis wrote:

I'm starting work on updating PyKDE for KDE 4.2. I'll keep your problem 
in mind and have a look at it.

You could use Qt's phonon in the meantime.

cheers,

</description>
    <dc:creator>Simon Edwards</dc:creator>
    <dc:date>2008-12-02T19:05:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13814">
    <title>Re: subprocess.Popen() crash after QApplication() ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13814</link>
    <description/>
    <dc:creator>Brian Kelley</dc:creator>
    <dc:date>2008-12-02T18:59:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13813">
    <title>Re: subprocess.Popen() crash after QApplication() ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13813</link>
    <description/>
    <dc:creator>Brian Kelley</dc:creator>
    <dc:date>2008-12-02T18:57:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13812">
    <title>Re: subprocess.Popen() crash after QApplication() ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13812</link>
    <description>
Oh yes: subprocess is absolutely useless on Mac with threading programs 
(QApplication probably creates a thread behind the scenes):

http://bugs.python.org/issue1068268
</description>
    <dc:creator>Giovanni Bajo</dc:creator>
    <dc:date>2008-12-02T18:27:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13811">
    <title>subprocess.Popen() crash after QApplication() ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13811</link>
    <description>Folks,
  has anyone else seen this  or is it me ?
Thanks, cheers

from PyQt4 import QtCore, QtGui
import subprocess
import sys

def sh( cmd_args ):
    (lines, err) = subprocess.Popen( cmd_args,
        stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True ) \
        .communicate()  # wait til process ends
    if err:
        print &gt;&gt;sys.stderr, "error:", err
    return lines

#-------------------------------------------------------------------------------
print sh( "date" )
app = QtGui.QApplication( sys.argv )
print sh( "date" )

# Traceback (most recent call last):
#   File "crash.py", line 8, in &lt;module&gt;
#     print sh( "date" )
#   File "/Users/bz/py/bz/openplus.py", line 96, in sh
#     stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True ) \
#   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py",
line 667
#     return self._communicate(input)
#   File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py",
line 113
#     rlist, wlis</description>
    <dc:creator>Denis</dc:creator>
    <dc:date>2008-12-02T17:43:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13810">
    <title>QProcess</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13810</link>
    <description>
This answer in no way addresses Qt.  If you want to execute a file in
unix and it is not in your path you need to specify its location.  hence
'./pippo'.  You could also type '/my_dir/pippo'.  so if you can type
'/my_dir/pippo' and it executes pippo from the terminal.  then you can
use that for your QProcess.

mbs

</description>
    <dc:creator>Matt Smith</dc:creator>
    <dc:date>2008-12-02T15:25:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13809">
    <title>QProcess</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13809</link>
    <description>Hello i have a little problem.
If i start the process like the sample all work:

pr = QtCore.QProcess()

pr.start('python /my_dir/pippo.py')

but if i compile the pippo.py and i obtain an executable that i run with ./pippo

how i have to do fur run it with qprocess?
I have try with
pr.start('/my_dir/./pippo') and nothig work
i have also try with pr.start('./ /my/dir/pippo') and also in this way nothing start.
can you tell me please the correct way to start this process?

Thanks

Luca



</description>
    <dc:creator>lucaberto&lt; at &gt;libero.it</dc:creator>
    <dc:date>2008-12-02T10:45:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13808">
    <title>Re: qt-designer _ question ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13808</link>
    <description/>
    <dc:creator>piotr maliński</dc:creator>
    <dc:date>2008-12-02T08:52:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13807">
    <title>qt-designer _ question ?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13807</link>
    <description/>
    <dc:creator>BLACK HAWK</dc:creator>
    <dc:date>2008-12-02T08:42:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13806">
    <title>Re: qlistview and finditem</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13806</link>
    <description>
On Dec 1, 2008, at 10:51 PM, Milan Hemžal wrote:


I believe you need to specify which match flag you'd like to use.   
This works for me:

self.theList.findItems(data, QtCore.Qt.MatchExactly)




Scott












</description>
    <dc:creator>Scott Frankel</dc:creator>
    <dc:date>2008-12-02T06:59:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13805">
    <title>qlistview and finditem</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13805</link>
    <description>hi,

i'm learning PyQt and cannot find how create:

a=["1Test1","2Test1","3Test1","4Test1","5Test1"]


def __init__(self):
        QtGui.QDialog.__init__(self)

        app.connect(self.lv_find,QtCore.SIGNAL("textEdited ( const QString &amp; 
)"),self.zmena_sl)


def fill_lv(self,ss):
        #empty lv
        self.lv_seznam.clear()
#fille new content
        for id,name, in enumerate(a):
            item=QtGui.QListWidgetItem(name)
            item.setData (QtCore.Qt.UserRole, QtCore.QVariant(id))
            self.lv_seznam.insertItem(0,item)

    def zmena_sl(self,c):
--&gt;        self.lv_seznam.findItems(c,QtCore.QtCore.MatchFlags("=")) &lt;-- 

i cannot find, howto create Qt.MatchFlags 

Traceback (most recent call last):
  File "/home/milan/workspace/seneka/src/dlg/dlg_divadlo.py", line 67, in 
zmena_sl
    self.lv_seznam.findItems(c,QtCore.MatchFlags("="))
AttributeError: 'module' object has no attribute 'MatchFlags'




</description>
    <dc:creator>Milan Hemžal</dc:creator>
    <dc:date>2008-12-02T06:51:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13804">
    <title>Re: Introducing PyDingo</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13804</link>
    <description>2008/12/1, Michał Andrzej Woźniak &lt;mikiwoz&lt; at &gt;yahoo.co.uk&gt;:

It has to run on Linux/Win/Mac :) And it has to work nicely with
QGtkStyle - looks native on GTK WMs. pykde4 is on my todo list to see
what I can use. If KParts, KIOslaves could be reused easily without
massive pykde code writting then who knows ;) Probably at v 0.5 all
questions will be answered :)

</description>
    <dc:creator>piotr maliński</dc:creator>
    <dc:date>2008-12-01T21:59:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13803">
    <title>Arbitrary number of copies of groupbox?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13803</link>
    <description>I'm trying to generate a report where I have a groupbox containing a 
number of fields per record. Is there anyway to have a scroll area and 
create an arbitrary number of copies of that groupbox on the fly?

Christian

</description>
    <dc:creator>Christian Aubert</dc:creator>
    <dc:date>2008-12-01T21:51:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13802">
    <title>Re: Introducing PyDingo</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/13802</link>
    <description>Dnia poniedziałek 01 grudzień 2008, piotr maliński napisał(a):
Ah, sorry, mentioning Konqueror and Dolphin - and the whole app being 
Qt-based - made me think you were going to write primarily KDE-targeted 
an app (so the deps wouldn't be a problem).
It would be a cool thing to be able to use KParts should one want to/like 
to. Anyway, just an idea for version 1.x. ;)

Great! If there will be a possibility to "package" the widgets as KParts, 
it would contribute a lot to the overall KDE flexibility (one could use 
your editor widget as an alternative KPart in Konqueror or KWrite, and 
the "stats://" widget in Konqueror and Dolphin).

Had I only the time, I would brobably dive into KParting those widgets 
myself... eh.

Cheers
mike


</description>
    <dc:creator>Michał Andrzej Woźniak</dc:creator>
    <dc:date>2008-12-01T21:50:50</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.python.pyqt-pykde">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.pyqt-pykde</link>
  </textinput>
</rdf:RDF>
