Re: [PyQt] Qtablewidget

2012-01-20 Thread David Boddie
On Fri, 20 Jan 2012 08:09:09 +0700, Dodi Ara wrote: > > for example, i have one file > > $ cat a > tes > $ > > so, the "test" fill in the one or more row or columns > > thanks, any help will be appreciate > > On 1/20/12, Dodi Ara wrote: > > i wondering, how can i add from my files to table widget?

[PyQt] Get the input of a QDialog into the main window

2012-01-20 Thread starglider.dev
Hi, I'm doing a touch screen application, and it needs a keyboard, my question is: it possible to type in the keyboard (a QDialog) and the output goes to the main window to a QLineEdit ? I don't want to create a output/QLineEdit in the keyboard dialog. Thank you in advance for your help.

Re: [PyQt] Function to open window and return user input

2012-01-20 Thread Christopher Evans
QInput is designed to get a single input from a user. In my case, we are making a complex remapping dialog that takes two ordered lists as input, allows the users to change the order, then on dialog close, it should return the two re-ordered lists. Thanks CE On Fri, Jan 20, 2012 at 10:10 AM, Ph

Re: [PyQt] QTableView in Editingstate

2012-01-20 Thread Andreas Pakulat
On 20.01.12 11:15:17, Daniel Benden wrote: > Hi, > > I hope to get some help with the following problem. > > First a little situation sketch: > I have a QTableView with a custom model (subclass from QAbstractTableModel) > and a custom itemdelegate(subclassed from QItemDelegate). > The QItemDeleg

[PyQt] QTableView in Editingstate

2012-01-20 Thread Daniel Benden
Hi, I hope to get some help with the following problem. First a little situation sketch: I have a QTableView with a custom model (subclass from QAbstractTableModel) and a custom itemdelegate(subclassed from QItemDelegate). The QItemDelegate provides for two of the 5 columns an custom editor. For

Re: [PyQt] Function to open window and return user input

2012-01-20 Thread Phil Thompson
On Fri, 20 Jan 2012 01:52:26 +0100, Christopher Evans wrote: > What's the best way to open a pyqt win and return user input? > > Kind of like with pyqt's built in simple windows (save, load, ok/cancel, > etc). > > I would like to make a function that when run, pops a window open, then > when clo