← Back to team overview

brewtarget-devs team mailing list archive

Re: Status icon

 

Oh, those are not widgets. They are QActions. You can see them in the
action browser of Designer. Should be simple enough if you want to go that
route: make an action and change the icon to reflect the status.


On Thu, Apr 24, 2014 at 4:38 PM, Peter Buelow <goballstate@xxxxxxxxx> wrote:

> That's a good idea. I had thought the same thing. It's a good idea too.
> However, you missed my question. In the toolbar, what type of widgets are
> those? I can't get designer to tell me, so I'm not sure what to put in.
> Also, what design constraints on the widget?
>
>
> On Wed, Apr 23, 2014 at 7:15 PM, Philip Lee <rocketman768@xxxxxxxxx>wrote:
>
>> You might also think about text notifications if they are simple and
>> infrequent enough. The MainWindow has a QStatusBar you can send messages
>> to, which appear at the bottom of the window for a short while.
>>
>> http://qt-project.org/doc/qt-4.8/qmainwindow.html#the-status-bar
>> http://qt-project.org/doc/qt-4.8/qstatusbar.html
>>
>>
>> On Wed, Apr 23, 2014 at 12:26 PM, mik firestone <mikfire@xxxxxxxxx>wrote:
>>
>>> Could you maybe do something in the tool bar?
>>>
>>> I'm thinking the upper right has nothing in it, and that would be a good
>>> place for something that was grey if not set up, red if setup but no
>>> connection, yellow for "I'm trying to connect" and green for "connected"?
>>> Mouse over would give a more complete status and maybe clicking on it would
>>> bring up the configuration screen?
>>>
>>> Mik
>>>
>>>
>>> On Wed, Apr 23, 2014 at 1:21 PM, Peter Buelow <goballstate@xxxxxxxxx>wrote:
>>>
>>>> Hey, so how do we want to present a status icon to a user? I’ve got the
>>>> Dropbox connection and synch working now (still doesn’t backup or restore a
>>>> DB, but I’m close), and what I need to do is present some visual cue that
>>>> indicates that there is a valid connection, and then what state that
>>>> connection might be in. There is no status bar at the bottom, but is that a
>>>> valid idea? Or, should I add a new icon that pops open a new dialog or
>>>> window that provides details? Right now, I’m leaning toward the second
>>>> idea, which allows for some flexibility. However, it’s not generally done
>>>> this way. An icon that presents status is generally at the bottom.
>>>>
>>>> Thoughts? I’m going to start with the icon, but am willing do discuss
>>>> this.
>>>>
>>>> --
>>>> Pete
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~brewtarget-devs
>>>> Post to     : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~brewtarget-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> In a world of ninja v. pirate, I pilot a Gundam
>>>
>>> --
>>> Mailing list: https://launchpad.net/~brewtarget-devs
>>> Post to     : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~brewtarget-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Philip G. Lee
>> rocketman768@xxxxxxxxx
>>
>> --
>> Mailing list: https://launchpad.net/~brewtarget-devs
>> Post to     : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~brewtarget-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Pete
>



-- 
Philip G. Lee
rocketman768@xxxxxxxxx

References