Message: Re: Adding application icon to Qt GUI Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Adding application icon to Qt GUI 

Forum: (Graphical) User Interfaces
Re: Question Adding application icon to Qt GUI (Mojca Miklavec)
Date: 09 Jul, 2013
From: John Allison <John Allison>

I'm not an expert on Qt nor the Geant4 Qt interface and I'm not sure it will address your question but have a look at the Geant4 Application Developers Guide 8.3.3 Qt, which will point you to a tutorial in video form. Click on "Geant4 Visualization Tutorial using the Qt Driver", then "Geant4 Qt User Interface tutorial (based on 4.9.6 version) , 23 January 2013.":

  http://geant4.in2p3.fr/spip.php?article84&lang=en

This shows you how to add menus and buttons:

    Step 8: Save History
    Step 9: Add menus (at 35")
    Step 10: Add "Vis menu (at 148)
    Step 11: Add "Viewer menu (at 310)
    Step 12: Add a button without specify parameters (at 415)
    Step 13: Stop saving history (at 620)
    Step 14: Create your gui.mac file (at 652)
    Step 15: Modify .cc file to load gui.mac (at 811)
    Step 16: Add a toolbar (at 933)
    Step 17: Add a new toolbar icon (at 11"36)

Hope that helps. If not, come back to this thread. Our Qt expert is on leave at present but we will try to help.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: Adding application icon to Qt GUI   (Mojca Miklavec - 10 Jul, 2013)
1 None: Re: Adding application icon to Qt GUI   (John Allison - 10 Jul, 2013)
2 None: Re: Adding application icon to Qt GUI   (garnier - 30 Jul, 2013)
1 Feedback: Re: Adding application icon to Qt GUI   (Mojca Miklavec - 01 Aug, 2013)
... 1 Message(s)
 Add Message Add Message
to: "Re: Adding application icon to Qt GUI"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]