Re: [PyQt] qtablewidget multi cell editing

2013-05-29 Thread David Cortesi
> From: Christopher Evans > > anyone know a way to select multiple cells and edit them, a la excel and > other packages? Do i need to write custom code, or is this supported? > You need to set the Selection Mode. In the Qt Assistant page for QTableWidget, click "List of all members, including in

[PyQt] qtablewidget multi cell editing

2013-05-28 Thread Christopher Evans
anyone know a way to select multiple cells and edit them, a la excel and other packages? Do i need to write custom code, or is this supported? -- CE ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo

[PyQt] QTableWidget warning message

2013-04-06 Thread Phil
Thank you for reading this. I'm writing repeatedly to a single row table like this; self.tableWidget.setitem(0, column, item) The first write is OK but subsequent writes cause the following message to be displayed; "QTableWidget: cannot insert an item that is already owned by another QTable

Re: [PyQt] QTableWidget...Copy ?

2012-08-22 Thread Michael Kleinschnitker
Hi, Am 22.08.2012 11:43, schrieb Szabo, Patrick (LNG-VIE): Hi, Thank you for your response. I thought that it might be possible with those functions yet I hoped there would be an easier way. I want the user to be able to copy them via strg+c and thought there might be a method, attribute or

Re: [PyQt] QTableWidget...Copy ?

2012-08-22 Thread Szabo, Patrick (LNG-VIE)
1 534 52 146 -Ursprüngliche Nachricht- Von: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-boun...@riverbankcomputing.com] Im Auftrag von Michael Kleinschnitker Gesendet: Mittwoch, 22. August 2012 11:34 An: pyqt@riverbankcomputing.com Betreff: Re: [PyQt] QTableWidget...Copy ? Hi Pa

Re: [PyQt] QTableWidget...Copy ?

2012-08-22 Thread Michael Kleinschnitker
Hi Patrick, Am 21.08.2012 11:24, schrieb Szabo, Patrick (LNG-VIE): Hi, Is there any way to make it possible to copy a Table realised with a QTableWidet? I can mark it but it will always only copy the content of a single cell. It copies the value from the selected cell instead of copying ever

[PyQt] QTableWidget...Copy ?

2012-08-21 Thread Szabo, Patrick (LNG-VIE)
Hi, Is there any way to make it possible to copy a Table realised with a QTableWidet? I can mark it but it will always only copy the content of a single cell. It copies the value from the selected cell instead of copying everything I have marked. Any ideas ? Best regards . . . .

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?

Re: [PyQt] Qtablewidget

2012-01-19 Thread Dodi Ara
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 mailing listPy

[PyQt] Qtablewidget

2012-01-19 Thread Dodi Ara
i wondering, how can i add from my files to table widget? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QTableWidget - pyuic does not compile several attributes

2011-07-29 Thread Phil Thompson
On Fri, 29 Jul 2011 11:02:05 +0200, "Hans-Peter Jansen" wrote: > Comparing output from uic with current pyuic4, I noticed, that uic will > only set the objectName, if not done already: > > if (WidgetName->objectName().isEmpty()) > WidgetName->setObjectName(QString::fromUtf8("

Re: [PyQt] QTableWidget - pyuic does not compile several attributes

2011-07-29 Thread Hans-Peter Jansen
On Thursday 28 July 2011, 19:45:40 Phil Thompson wrote: > On Thu, 28 Jul 2011 01:58:38 +0100, "Protopia" > > > > > And then I ran the compiler and looked at the code (attached) and > > found the following things missing: > > > > > > QTableWidget: > > > > 1. .font.Kerning not compiled. > > Fixe

Re: [PyQt] QTableWidget - pyuic does not compile several attributes

2011-07-29 Thread Protopia
:46pm To: Protopia Cc: pyqt@riverbankcomputing.com Subject: Re: [PyQt] QTableWidget - pyuic does not compile several attributes On Thu, 28 Jul 2011 01:58:38 +0100, "Protopia" wrote: > I am not sure whether anyone has found this problem before, however I > can't find it in

Re: [PyQt] QTableWidget - pyuic does not compile several attributes

2011-07-28 Thread Phil Thompson
On Thu, 28 Jul 2011 01:58:38 +0100, "Protopia" wrote: > I am not sure whether anyone has found this problem before, however I > can't find it in the archives on Gmane. > > > > I first came across this problem when I designed a table in QT Designer, > and set fonts on certain cells. But when I

Re: [PyQt] QTableWidget - pyuic does not compile several attributes

2011-07-28 Thread Hans-Peter Jansen
On Thursday 28 July 2011, 02:58:38 Protopia wrote: > I am not sure whether anyone has found this problem before, however I > can't find it in the archives on Gmane. > > > > I first came across this problem when I designed a table in QT > Designer, and set fonts on certain cells. But when I ran the

Re: [PyQt] QTableWidget: cannot alter text of header labels

2010-05-21 Thread Mark Summerfield
On 2010-05-20, Nick Gaens wrote: > Hello PyQt, > > I'm wondering why I can't change the text that's displayed in the > horizontal or vertical header of my standard QTableWidget. > > - Constructor and simple count specification > > self.tw = QtGui.QTableWidget() > > self.tw.setColumnCount(5) >

[PyQt] QTableWidget: cannot alter text of header labels

2010-05-20 Thread Nick Gaens
Hello PyQt, I'm wondering why I can't change the text that's displayed in the horizontal or vertical header of my standard QTableWidget. - Constructor and simple count specification self.tw = QtGui.QTableWidget() self.tw.setColumnCount(5) - Attempt 1: > self.tw.setHorizontalHeaderLabels(("

Re: [PyQt] QTableWidget editing question

2009-11-27 Thread Baz Walter
Steve Zatz wrote: I am new to qt and pyqt but have been using wxPython for a long time. I am converting a moderately complex application from wxPython to pyqt and have been impressed with the ease of using pyqt. Here's my question and I apologize for the verbiage. The ability to get at the defa

[PyQt] QTableWidget editing question

2009-11-27 Thread Steve Zatz
I am new to qt and pyqt but have been using wxPython for a long time. I am converting a moderately complex application from wxPython to pyqt and have been impressed with the ease of using pyqt. Here's my question and I apologize for the verbiage. The ability to get at the default widget text edit

Re: [PyQt] QTableWidget: sorting floating point numbers

2009-09-24 Thread David Boddie
On Thu Sep 24 15:54:32 BST 2009, Bernard Van Der Stichele wrote: > I still havn't been able to figure out how to sort numbers in a > QTableWidget. Can anyone offer any pointers? I don't think it's possible to do this with a QTableWidget, but it's certainly possible to apply a proxy model to a mod

[PyQt] QTableWidget: sorting floating point numbers

2009-09-24 Thread Bernard Van Der Stichele
I still havn't been able to figure out how to sort numbers in a QTableWidget. Can anyone offer any pointers? thx bernard. ** Hello list members, The row sorting mechanism triggered when clicking on a column header functions by treating cell contents as strings - even if the cell contents we

[PyQt] QTableWidget: numeric sort

2009-09-15 Thread Bernard Van Der Stichele
Hello list members, The row sorting mechanism triggered when clicking on a column header functions by treating cell contents as strings - even if the cell contents were formatted as floats or integers. Is there an intended mechanism designed to allow the sort to be customized? If so, what is i

Re: [PyQt] QTableWidget no editable

2009-03-02 Thread Sergio Daniel Gomez
chrysl666 escribió: please how to meake a QTableWidget cell no Editable ? thanks for help me ! ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputin

Re: [PyQt] QTableWidget no editable

2009-03-02 Thread Brian Kelley
Before you add a QTableWidgetItem to a cell, call the setFlags function on the item without the ItemIsEditable flag. For editable: item.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEditable | QtCore.Qt.ItemIsEnabled ) For not editable; item.setFlags( QtCore.Qt.ItemIsSelectable | Qt

[PyQt] QTableWidget no editable

2009-03-02 Thread chrysl666
please how to meake a QTableWidget cell no Editable ? thanks for help me ! ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QTableWidget Data Paste Time

2008-07-31 Thread B Clowers
Brian --- On Thu, 7/31/08, David Douard <[EMAIL PROTECTED]> wrote: From: David Douard <[EMAIL PROTECTED]> Subject: Re: [PyQt] QTableWidget Data Paste Time To: pyqt@riverbankcomputing.com Date: Thursday, July 31, 2008, 3:24 AM On Wed, Jul 30, 2008 at 02:22:38PM -0700, Glenn Lind

Re: [PyQt] QTableWidget Data Paste Time

2008-07-31 Thread David Douard
On Wed, Jul 30, 2008 at 02:22:38PM -0700, Glenn Linderman wrote: > On approximately 7/30/2008 2:10 PM, came the following characters from > the keyboard of B Clowers: >> Greetings, >> >> I'm interested in incorporating a QTableWidget into one of my >> applications and would like to give it the

[PyQt] QTableWidget Data Paste Time

2008-07-30 Thread B Clowers
Greetings, I'm interested in incorporating a QTableWidget into one of my applications and would like to give it the functionality to cut, copy, and paste a user selection.  So far I've implemented the copy and paste actions to a functional level.  However, I often deal with very large arrays (e

[PyQt] QTableWidget row double clicked

2008-04-11 Thread Curtis Scheer
There doesn't appear to be a signal that is emitted when a given row in a QTableWidget is double clicked. I can easily catch the cellDoubleClicked or the itemDoubleClicked signal but what i really want is when a row is double clicked. Whats the best way to catch this row double click input fr

Re: [PyQt] QTableWidget in QSplitter

2008-03-24 Thread Aaron Digulla
Gregor Kling schrieb: > I have a MainWindow of which the Centralwidget consist of a Splitter > with more Splitters in it. >[...] > Now what I want is, that each QTableWidget expands its QTableWidgetItems > to the actual size > of its respective Splitter. > Does anyone have a clue how to do this ?

[PyQt] QTableWidget in QSplitter

2008-03-22 Thread Gregor Kling
Hello, I have a MainWindow of which the Centralwidget consist of a Splitter with more Splitters in it. self.adminListWidget = QTreeWidget() self.adminInfoWidget = QTableWidget() self.netInfoWidget = QTableWidget() self.domainInfoWidget = QTableWidget() self.infoSplitter = QSp

Re: [PyQt] QTableWidget Desperation!

2007-11-23 Thread Lawrence Shafer
OK, I'm a total ID10T! Two more lines did it! just when you give up after 3 hrs of struggle, it all comes together! Sorry! additional code; item = QtGui.QTableWidgetItem("simple text") self.tableWidget.setItem(0, 0, item) Lawrence Shafer wrote: I am tryin

[PyQt] QTableWidget Desperation!

2007-11-23 Thread Lawrence Shafer
I am trying to get the QTableWidget figured out. So far, adding data to the cells doesn't seem straightforward. I can't seem to find a good solid example that is simple, maybe because it's not simple! This is what I have so far, can you just give me an example of how to put simple text into on