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

More Re: Adding application icon to Qt GUI 

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

Wow, I love this tutorial, thank you.

While it doesn't answer my question exactly (it doesn't cover changing the icon of the program, so I'm still interested in knowing how this is done), many examples that I tried crash.

    /gui/addIcon "Open macro file" open /control/execute

or

    /control/execute icons.mac

would both cause an error like

    2013-07-10 14:39:57.440 exampleB3[8121:2903] invalid drawable

I also tried

    /gui/addButton file "Open macro" "/control/execute"

Tutorial says that commands with arguments would open a window (like the one for changing the colour of the background), in case of "file" (this one actually claims to accept "fileName"), it should open a file dialog, but it only returns "command refused".

I then accidentally tried

    /gui/addButton "Open macro" open "/control/execute"

which is not something that should be supported, but the program crashes (I don't believe it should crash, despite the command not being supported).

Thank you,
    Mojca

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

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)
(_ None: Re: Adding application icon to Qt GUI   (garnier - 06 Aug, 2013)
 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 ]