[Interest] QMenu in IOS is hidden behind modal dialog

2022-06-16 Thread sivan nanthiran
Hi all, I am using Qt(C++) to develop an IOS app. When I use a QMenu without parent on a modal dialog, the menu gets hidden behind the dialog. This issue does not happen if I set the modal dialog as parent. Upon debugging in Qt, I noticed that the window level of a menu (Qt::Popup) is lower than o

Re: [Interest] QMenu

2017-03-29 Thread Igor Mironchik
Hi, It's a fade effect... And I found only one solution: void MainWindow::x5() { QEventLooploop; QTimer::singleShot(1000,&loop,&QEventLoop::quit); loop.exec(); 29.03.2017 13:38, Konstantin Shegunov пишет: Hi, On Wed, Mar 29, 2017 at 1:22 PM, Igor Mironchik wrote: I run Kubuntu in Vir

Re: [Interest] QMenu

2017-03-29 Thread Konstantin Shegunov
Hi, On Wed, Mar 29, 2017 at 1:22 PM, Igor Mironchik wrote: > I run Kubuntu in VirtualBox under Win 10. And my VM a little slow. Maybe > it's a problem of VM? Or it will be so on every Linux distribution? I believe this is due to the differences between how messages are processed on windows and w

[Interest] QMenu

2017-03-29 Thread Igor Mironchik
Hello, I've implemented small magnifier tool. It's transparent window with border. User can invoke menu and call magnify slot from that menu. In the magnify slot I have QApplication::processEvents() to allow menu be hidden before making screen capture. Such approach works on my Win 10, but in

Re: [Interest] QMenu size

2016-11-17 Thread Bo Thorsen
Hi Joshua, Den 15-11-2016 kl. 17:28 skrev Joshua Grauman: Thanks! These are great ideas. It's not about making it work like another system, but it is a unique requirement having to do with recording the screen... Typical, you actually managed to find a good reason for doing this :) If you do

Re: [Interest] QMenu size

2016-11-15 Thread Joshua Grauman
Bo, Thanks! These are great ideas. It's not about making it work like another system, but it is a unique requirement having to do with recording the screen... If you don't mind, could you clarify a bit what you mean with a couple of your suggestions? - Work with the width for height trick

Re: [Interest] QMenu size

2016-11-15 Thread Bo Thorsen
Den 08-11-2016 kl. 23:05 skrev Joshua Grauman: Hello all, I am wondering if there is a way to customize the size of a QMenu used as a context menu. I have it so that when I right click, a popup menu comes up. But I would like it so the QMenu doesn't ever go outside of the window it is clicked in

[Interest] QMenu size

2016-11-08 Thread Joshua Grauman
Hello all, I am wondering if there is a way to customize the size of a QMenu used as a context menu. I have it so that when I right click, a popup menu comes up. But I would like it so the QMenu doesn't ever go outside of the window it is clicked in. Right now, if you click near the bottom, th

Re: [Interest] qmenu regression?

2016-04-14 Thread Boudewijn Rempt
On Thu, 14 Apr 2016, Giuseppe D'Angelo wrote: Could you please create a _complete_ testcase and submit it to the bugtraq? Otherwise it will get forgotten... I don't know whether I can manage that -- I just sent out this mail to see whether it would jog anybody's memory. Someone might remember

Re: [Interest] qmenu regression?

2016-04-14 Thread Giuseppe D'Angelo
On Thu, Apr 14, 2016 at 8:36 PM, Boudewijn Rempt wrote: > I got this bug report > > https://bugs.kde.org/show_bug.cgi?id=361766 > > And sure enough, when I tested it, the reporter was right. The context menu > actions weren't triggered. I checked, and this worked > with Qt 5.4, but no longer w

Re: [Interest] qmenu regression?

2016-04-14 Thread Scott Aron Bloom
@qt-project.org] On Behalf Of Boudewijn Rempt Sent: Thursday, April 14, 2016 11:37 AM To: interest@qt-project.org Subject: [Interest] qmenu regression? I got this bug report https://bugs.kde.org/show_bug.cgi?id=361766 And sure enough, when I tested it, the reporter was right. The context

[Interest] qmenu regression?

2016-04-14 Thread Boudewijn Rempt
I got this bug report https://bugs.kde.org/show_bug.cgi?id=361766 And sure enough, when I tested it, the reporter was right. The context menu actions weren't triggered. I checked, and this worked with Qt 5.4, but no longer with 5.5 or 5.6. This is the code: QMenu menu(this); QAct

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-21 Thread Muhammad Bashir Al-Noimi
On 04/21/2013 09:54 PM, Diego Iastrubni wrote: I cannot reproduce this on Windows. However... the Windows theme has some issues with RTL :) It seems the bug is specific to X11. I think that so as mentioned in bug ticket . Now I'm looking f

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-21 Thread Diego Iastrubni
I cannot reproduce this on Windows. However... the Windows theme has some issues with RTL :) It seems the bug is specific to X11. On Sun, Apr 21, 2013 at 12:12 AM, Muhammad Bashir Al-Noimi < mbno...@gmail.com> wrote: > On 04/16/2013 12:40 PM, Muhammad Bashir Al-Noimi wrote: > > On 04/16/2013 0

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-20 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 12:40 PM, Muhammad Bashir Al-Noimi wrote: On 04/16/2013 09:30 AM, Bache-Wiig Jens wrote: On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi wrote: Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDi

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-17 Thread Diego Iastrubni
Then comparing the KDE look and feel is pointless, unless you are testing against an unreleased version of KDE ;-) On Wed, Apr 17, 2013 at 12:39 AM, Muhammad Bashir Al-Noimi < mbno...@gmail.com> wrote: > On 04/16/2013 02:52 PM, Diego Iastrubni wrote: > > Muhammad, > > The Qt application, was it

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 02:52 PM, Diego Iastrubni wrote: Muhammad, The Qt application, was it Qt5 or Qt4? I know for sure that Qt4 has no issues in regarding RTL. I will look into Qt5. I mentioned at the first message of this thread that I'm using Qt 5.0.2

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Diego Iastrubni
Muhammad, The Qt application, was it Qt5 or Qt4? I know for sure that Qt4 has no issues in regarding RTL. I will look into Qt5. On Tue, Apr 16, 2013 at 1:40 PM, Muhammad Bashir Al-Noimi wrote: > On 04/16/2013 09:30 AM, Bache-Wiig Jens wrote: >> On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noi

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 09:30 AM, Bache-Wiig Jens wrote: > On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi > wrote: > >> Hello Guys, >> >> QMenu doesn't work with RightToLeft layout direction (as shown in this >> screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) >> >> How can

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Bache-Wiig Jens
On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi wrote: > Hello Guys, > > QMenu doesn't work with RightToLeft layout direction (as shown in this > screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) > > How can I fix this issue? You might first want to try if your

[Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) How can I fix this issue? PS I filed a bug report about this issue[2] but I still need at least a temporarily solution because 5.0.2 stil

Re: [Interest] QMenu: remove icons

2013-03-20 Thread Sensei
On 3/20/13 11:55am, Igor Grivko wrote: > Hi Sensei, > > There is a property in QAction: > iconVisibleInMenu : bool > > I suppose you need to use it. That's it! Thank you very much! ___ Interest mailing list Interest@qt-project.org http://lists.qt-pro

Re: [Interest] QMenu: remove icons

2013-03-20 Thread Igor Grivko
Hi Sensei, There is a property in QAction: iconVisibleInMenu : bool I suppose you need to use it. Best regards, Igor Grivko On Wed, Mar 20, 2013 at 2:46 PM, Sensei wrote: > Dear all, > > it should be easy, but I didn't find any way to do this. How do I remove > icons in a QMenu? > > More prec

[Interest] QMenu: remove icons

2013-03-20 Thread Sensei
Dear all, it should be easy, but I didn't find any way to do this. How do I remove icons in a QMenu? More precisely: I add QActions to a menu, and each QAction has an icon. On OSX the standard is NOT to display icons in menus, but only in toolbars. The only way I've found is stupid and cumbers

[Interest] QMenu scrolling on Macintosh

2012-09-19 Thread John Weeks
I have a window with a popup menu button:When close to the top of the screen, when you pop it up it correctly positions the menu with the current action under the mouse and a scroll arrow at the top to indicate items that aren't showing:But if I scroll upward on this menu, I get a scroll arrow at t

[Interest] QMenu styling

2012-08-07 Thread André Somers
Hi, I am trying to style a QMenu and add an additional, menu-specific icon to the left of the actual items in the menu, like in the mockup here: https://dl.dropbox.com/u/16442531/menumockup.png I subclassed QMenu to overwrite its paintEvent to render the icon and the vertical line, which works