PDA

View Full Version : UI like Guitar Pro 6 - Please advise me.



jeanremi
19th May 2011, 01:29
Hi!

I'm Jean and I'm new to Qt, but am professional c++ developer for many years.
I have a new project in which I have to create a good flowing using interface. I have opted for Qt.

I need to create a UI similar to Guitar Pro 6:
"http://www.guitar-pro.com/en/index.php?pg=product"
I am mainly interested in the "Soundboard" on the given page (you can see/search it there to see what I mean. I would like to know which Qt class I need to use to create similar red/yellow/green/blue controls and the stacking components on their left side. Guitar, bass, drums...etc...).
(Note, colour is not the issue, but the actual control :-))

I'm already thinking of using QGraphicsView/Scene&Item.
- Is this a good way forward?
- Any more advice on how to achieve this kind of overall UI is appreciated.

Many thanks for your help in advance.

Best regards,

Jean

squidge
19th May 2011, 13:46
I'd create custom widgets (derive from QWidget) and use those rather than using QGraphicsView.

For some examples, see Wysota's wwWidgets - http://www.wysota.eu.org/wwwidgets/

jeanremi
20th May 2011, 01:00
Deriving from QWidget sounds OK. I will download wwwidget's source to see how they do it.

What about the overall interface? would you use Qt Designer to bring the controls together or rather just do it yourself?

Thanks a lot!

squidge
20th May 2011, 08:42
For something like the soundboard, I would create the controls in code rather than using designer. I'd probably use designer just for creating the containers.

jeanremi
20th May 2011, 09:26
Okay very good concept! That's exactly what I hoped to hear.

Squidge, Thank you SO much for your input, I can definitely now get started. Very good pointers from you.

I'll see how far I can go.

Much Appreciated :)

Jean