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
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
On 23.11.07 09:04:56, Chris Dunscombe wrote:
> Hi,
>
> I'm trying to have a checkable column plus label with other columns in a
> table. I can't use
> QTableWidget as one of the other columns is a ComboBox. After much trying,
> googling and reading of
> Mark's excellent new book I just can't get
Hi,
I'm trying to have a checkable column plus label with other columns in a table.
I can't use
QTableWidget as one of the other columns is a ComboBox. After much trying,
googling and reading of
Mark's excellent new book I just can't get it to work. I'm clearly doing
something wrong
Main probl
On Friday 23 November 2007, Lawrence Shafer wrote:
> I have set a QPushButton checkable, so now it "sticks" down when
> clicked. How can I detect that in an if statement?
>
> I tried this but it gives me an AttributeError: toggled error.
>
> if self.startButton.toggled():
isChecked()
Phil
___