Re: [Interest] QActionGroup vs QButtonGroup

2013-03-14 Thread Sensei
On 3/12/13 4:28 PM, André Somers wrote: > I think because in this special case, Qt may be be pulling some tricks > to make your application look more native on OS-X. The style may be > using native rendering of the toolbar when you are using a toolbar at > the top of your main window, and fall back

Re: [Interest] QActionGroup vs QButtonGroup

2013-03-12 Thread André Somers
Op 12-3-2013 15:58, Sensei schreef: > On 3/11/13 3:37 PM, Bill Crocker wrote: >> On 03/11/2013 10:06 AM, Sensei wrote: >>> On 3/11/13 12:47 PM, Bill Crocker wrote: Wow. A non QML posting. How refreshing. Did you remember to add "/images/console.png" etc. to your resources file?

Re: [Interest] QActionGroup vs QButtonGroup

2013-03-12 Thread Sensei
On 3/11/13 3:37 PM, Bill Crocker wrote: > On 03/11/2013 10:06 AM, Sensei wrote: >> On 3/11/13 12:47 PM, Bill Crocker wrote: >>> Wow. A non QML posting. How refreshing. >>> >>> Did you remember to add "/images/console.png" etc. to >>> your resources file? >> > > Ah yes. > > I use a QActionGroup when

Re: [Interest] QActionGroup vs QButtonGroup

2013-03-11 Thread Bill Crocker
On 03/11/2013 10:06 AM, Sensei wrote: > On 3/11/13 12:47 PM, Bill Crocker wrote: >> Wow. A non QML posting. How refreshing. >> >> Did you remember to add "/images/console.png" etc. to >> your resources file? > Ah yes. I use a QActionGroup when I need this behavior. - Create QActionGroup. - Set al

Re: [Interest] QActionGroup vs QButtonGroup

2013-03-11 Thread Sensei
On 3/11/13 12:47 PM, Bill Crocker wrote: > Wow. A non QML posting. How refreshing. > > Did you remember to add "/images/console.png" etc. to > your resources file? Of course, they are using the very same icons, as you can see from the code. One works, the other doesn't. > Also, QIcon is light w

Re: [Interest] QActionGroup vs QButtonGroup

2013-03-11 Thread Bill Crocker
Wow. A non QML posting. How refreshing. Did you remember to add "/images/console.png" etc. to your resources file? Also, QIcon is light weight, so you should use QIcon and not Pointer-To-QIcon for things like your consoleIcon_. Bill On 03/11/2013 04:55 AM, Sensei wrote: > Hi all, > > I am addin

[Interest] QActionGroup vs QButtonGroup

2013-03-11 Thread Sensei
Hi all, I am adding to a toolbar a new set of buttons, checkable and exclusive, but I found a strange behavior. Using a QButtonGroup, buttons are added but NO ICON is showed, while employing the very same icons in a QActionGroup, everything works just fine. I must add, the code using a QButton