Re: [PyQt] QGraphicsView item select

2012-04-10 Thread Andreas Pakulat
On 10.04.12 20:05:19, Alfredo Junior wrote: > Thank you for your help. > > But I can't make something like that. > > In my example only tableWidget works: > > class Init(QtGui.QMainWindow): >     def __init__(self): >         super(Init, self).__init__() >         self.initUI() >     def initUI(

[PyQt] Rotated text in QTableWidget cell

2012-04-10 Thread Vadym
Hello, there is enought big QTableWidget table with lot of columns. Therefore some columns which contain long text in header has inappropriate view. I didn't use QTableWidgetHeader as header because hierarchical header is not simple task so I just glue two QTableWidget tables (one as header). So,

Re: [PyQt] QGraphicsView item select

2012-04-10 Thread Alfredo Junior
Thank you for your help. But I can't make something like that. In my example only tableWidget works: class Init(QtGui.QMainWindow):     def __init__(self):         super(Init, self).__init__()         self.initUI()     def initUI(self):         uic.loadUi(os.path.join(os.getcwd(), "ui/window.ui"

Re: [PyQt] Rounded corners

2012-04-10 Thread Alfredo Junior
Thank you man. Works very well! =) - Original Message - From: Vincent Vande Vyvre To: pyqt@riverbankcomputing.com Cc: Sent: Monday, April 9, 2012 9:45 PM Subject: Re: [PyQt] Rounded corners Le 09/04/12 20:24, Alfredo Junior a écrit : > Hi people, > > I'm trying to convert some QGraph

Re: [PyQt] QTreeView DragDropMode (Copy vs. Move)

2012-04-10 Thread hosscomp
hosscomp wrote > > > hosscomp wrote >> >> I am looking at the documentation for QAbstractItemView Class. I have >> created a tree view and I would like it to accept drops from a different >> view, but also be able to move items within itself. None of the >> DragDropMode settings seem to allow

Re: [PyQt] PyQt_PyObject <==> QVariant

2012-04-10 Thread Phil Thompson
On Tue, 10 Apr 2012 09:55:37 -0700, Dio Gonzalez wrote: > On Sat, Apr 7, 2012 at 2:00 AM, Phil Thompson > wrote: > >> On Fri, 6 Apr 2012 15:46:15 -0700, Dio Gonzalez >> > >> > Phil's response to the thread mentioned adding something similar to >> > %ConvertToTypeCode and %ConvertFromTypeCode. >>

Re: [PyQt] PyQt_PyObject <==> QVariant

2012-04-10 Thread Dio Gonzalez
On Sat, Apr 7, 2012 at 2:00 AM, Phil Thompson wrote: > On Fri, 6 Apr 2012 15:46:15 -0700, Dio Gonzalez > > > > Phil's response to the thread mentioned adding something similar to > > %ConvertToTypeCode and %ConvertFromTypeCode. > > I haven't changed anything because I never got an answer to my que

Re: [PyQt] pyqt4, qt4 and stylesheets

2012-04-10 Thread José M . Rodriguez Bacallao
yes, I know that, thanks for the advice, I'll do that!!! On 4/9/12, Matt Newell wrote: > On Monday, April 09, 2012 02:21:37 PM José M. Rodriguez Bacallao wrote: >> no one? >> >> On 4/9/12, José M. Rodriguez Bacallao wrote: >> > hi folks, I am developing an application with pyqt4. I am trying to