[Interest] QComboBox - rect of actual menu vs widget area

Frank Rueter | OHUfx frank at ohufx.com
Fri Jan 18 01:38:28 CET 2019


but back to the original question:
How would I get the correct height for the dark grey box below to only 
be visible inside the menu area?
Maybe I can simply mask it through the menu area somehow?


On 9/01/19 1:22 AM, Roland Hughes wrote:
>
> On 1/8/2019 4:00 AM, Matthew Woehlke wrote:
>> On 29/12/2018 07.54, Roland Hughes wrote:
>>> Method 1: show/hide interesting widget
>>>
>>> Place a label with the animated GIF at the exact same spot as the combo
>>> box.
>> An*animated GIF*? Ugh. No anti-aliasing, won't follow the color 
>> scheme...
>>
>> A better option would be to use a "busy indicator" widget. For example,
>> https://github.com/Kitware/qtextensions/blob/master/widgets/qtThrobber.cpp. 
>>
>> (Too bad there isn't one in Qt proper :'(.)
> It was the short answer based on the assumption only one field was 
> "busy".  Yes, I've created a custom widget with a timer and set number 
> of images for a spinning bar and used that as well for a single field 
> "busy".
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190118/91204554/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-01-18 at 1.37.43 PM.png
Type: image/png
Size: 9456 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190118/91204554/attachment.png>


More information about the Interest mailing list