Re: [Interest] Most direct path to using a QComboBox to edit a cell in a QTableView?

2012-06-25 Thread Tony Rietwyk
Hi Frank, What does the standard delegate do for your model/view at the moment? I can't recall the specifics, but it certainly uses combo boxes at the moment - eg, for boolean fields (which I think is painful, but anyway). I think you need to give more information about what you are expecting

[Interest] Most direct path to using a QComboBox to edit a cell in a QTableView?

2012-06-25 Thread K. Frank
Hello List! I have a QTableView and I would like to use a QComboBox to insert and modify its entries. I'm looking for the simplest way to do this that uses as much unmodified Qt functionality as possible. At the moment I am thinking that I can use the class template QStandardItemEditorCreator sp

Re: [Interest] Dynamically Resizing the height of a Row in a QTableWidget or QTableView

2012-06-25 Thread Mark
On Mon, Jun 25, 2012 at 11:52 PM, Eric Clark wrote: > Hello Mike, > > I am not sure about dynamically resizing the row height, but I have a > suggestion that you may or may not find helpful... > > Instead of placing the entire portion of text in the table cell, why not use > the QFontMetrics::el

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Eric Clark
Thank you again Andreas! I just wanted to get my head screwed on straight. I really appreciate your response and help! - Eric From: Andreas Pakulat [mailto:ap...@gmx.de] Sent: Monday, June 25, 2012 5:02 PM To: Eric Clark Cc: Qt Interest (interest@qt-project.org) Subject: Re: [Interest] QAbstractI

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:59 PM, Eric Clark wrote: > Thanks Andreas! I know it doesn’t exactly answer my question, but you > are right, I can easily check this and I probably should just do the right > thing anyway and delete it. However, this suggestion: > > ** ** > > Or you could mak

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Eric Clark
Thanks Andreas! I know it doesn't exactly answer my question, but you are right, I can easily check this and I probably should just do the right thing anyway and delete it. However, this suggestion: Or you could make sure the selection model is set before the model, so that no default-selection

Re: [Interest] Dynamically Resizing the height of a Row in a QTableWidget or QTableView

2012-06-25 Thread Eric Clark
Hello Mike, I am not sure about dynamically resizing the row height, but I have a suggestion that you may or may not find helpful... Instead of placing the entire portion of text in the table cell, why not use the QFontMetrics::elidedText(...) function to add ellipsis to the left, right or mid

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:12 PM, Eric Clark wrote: > Hello All, > > ** ** > > I have a curious question about the default QItemSelectionModel that is > created whenever a QAbstractItemView is created: Is this default selection > model parented to the view? What I really want to know is

[Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Eric Clark
Hello All, I have a curious question about the default QItemSelectionModel that is created whenever a QAbstractItemView is created: Is this default selection model parented to the view? What I really want to know is, if I create a new QAbstractItemView, set the model on it and then create a new

[Interest] Dynamically Resizing the height of a Row in a QTableWidget or QTableView

2012-06-25 Thread Michael Jackson
Is it possible to dynamically set the row height based on the amount of text that needs to be displayed? We are trying to display some error messages in a table and some of the messages are very short (just a few words) and some of very long (lots and lots of words). Can this be done with a QTab

Re: [Interest] ICS Announces Qt-Based Google APIs

2012-06-25 Thread Harri Pasanen
I took a quick look at qt-google-calendar, but it's unclear to me how the authentication is supposed to work? Basically the code expects you to fill in response uri, but does not implement the server for it? What am I supposed to put in there (m_strRedirectURI)?Reading google docs it shoul

Re: [Interest] HTML5 canvas support?

2012-06-25 Thread Jason H
To answer your questions, 1. No, You'll have to use CSS and such to style them, and come up with specific POST handlers for every possible input. If that's what you want then use Wt. The advantage here is that there is only ever one POST handler, which handles browser events like KEY UP/DOWN, an