The Following User Says Thank You to RobbieThe1st For This Useful Post: | ||
|
2011-09-26
, 20:19
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#2
|
Currently, I'm developing the application on my PC(running Debian), and apparently have both PyQT3 and 4 installed.
I intend to have a two or three column tree view on the left - The first column being the comic name, and any files under that name, second being Date found.
On the right/middle, I'll have some sort of canvas or webbrowser widget which will display the comic itself. I will end up controlling that widget via the tree at the left - Selecting an item will call a function which will end up changing the main widget's SRC.
Now, I've gotten most of this together, but I'm running into trouble. I found a tutorial and some instruction on making a tree view, and was able to understand the concepts and get my tree setup. Unfortunately, I learned that I'm using QT3, and the functionality I was using(multi-column QListView) is obsolete and not usable in QT4.
On -TOP- of that, I can't figure out how to get a signal from the QListView to a function of my own choosing. I just get "No such signal".
Everything -works-, at least on my main computer - I just can't figure out a way to get the commented line to work. I've tried a couple of different signals, including clicked(), but I can't figure it out.
Now, in -addition- to that problem, I'd like to figure out a way to port this to QT4, as I'm gonna need to in order to use it on the N900(I'm gonna end up with a separate mobile-usable GUI though) - I just don't know a good replacement for the functionality I'm using.
Here's my code:
Edit: Solved:
Last edited by RobbieThe1st; 2010-10-03 at 07:52. Reason: Solved the problem.