The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Anyone know Qt tables?

SevorakSevorak Registered User regular
edited August 2009 in Help / Advice Forum
Qt4. I'm writing a very basic spreadsheet program for displaying data from my company's other products in a specific format using a QTableView. One of the requirements is to be able to filter any column by any string contained in the column, ie only rows that have the selected string in them will be displayed. I have this working by using the first row as the row where the user picks the strings to filter with, similar to Excel and OpenOffice. The only problem is that the row scrolls with the table view, and I haven't been able to find a way to make it stay in place, which is possible in Excel. Not sure if it is in OpenOffice. Has anyone been able to get a single row in a QTableView to stay visible while the rest of the rows scroll normally?

If I could use anything besides Qt I would, but this is the GUI library my company uses. It seems nice for a while but then, "Wait, I have to write a custom method to do that? What the ef?" and "What do you mean that method isn't virtual?!" and "What the hell were they thinking?" Ugh.

steam_sig.png 3DS: 0748-2282-4229
Sevorak on
Sign In or Register to comment.