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

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

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

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) >

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

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

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

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

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 ?

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