Glen wrote:
> Sorry I've been away a while, figuring stuff out. It absolutely wasn't a
> monospaced font that I was using. I'm still getting used to Qt Designer
> and didn't see the expandable item under 'font' where I could easily
> select another font. I felt pretty stupid when I saw it. My p
Sorry I've been away a while, figuring stuff out. It absolutely wasn't a
monospaced font that I was using. I'm still getting used to Qt Designer
and didn't see the expandable item under 'font' where I could easily
select another font. I felt pretty stupid when I saw it. My program
output the co
On Thursday 19 April 2007 00:50, Glen wrote:
> What seems to be happening is that the font that pyqt is using is not
> fixed width, so I did this:
> qTxtFormat = QTextCharFormat()
> qTxtFormat.setFontFixedPitch(True)
> ui.textEdit.setCurrentCharFormat(qTxtFormat)
It may be that the font you're us
Glen wrote:
> What seems to be happening is that the font that pyqt is using is not
> fixed width, so I did this:
> qTxtFormat = QTextCharFormat()
> qTxtFormat.setFontFixedPitch(True)
> ui.textEdit.setCurrentCharFormat(qTxtFormat)
Does something like ui.textEdit.setCurrentFont(QFont('fixed')) wor
Glen wrote:
>> Hello again, I don't blame anyone for not answering my last post,
> since
>> I obviously hadn't spent much time researching, but I've come a little
>> ways and have another question.
>>
>> How can I better format text output to a QTextEdit object? I'm
>> inserting 5 columns into
On Wed, 18 Apr 2007 22:50:14 +, Glen wrote:
Ok, obviously, my post didn't come out the way I wanted it to. In the
first example from my text file below, the dictionary pairs, constructed
from sorted tuples were in straight columns. When I write them to my
QTextEdit, however, the columns are
Hello again, I don't blame anyone for not answering my last post, since I
obviously hadn't spent much time researching, but I've come a little ways
and have another question.
How can I better format text output to a QTextEdit object? I'm inserting
5 columns into each row. When I write the info