|
|||||||
| Qt Programming General Qt programming issues. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Related to: Qt4
Guys,
this one i'm not sure if it is easy... See please the attachmment. Somebody say to me that the menu I show is the contextMenu. By some reason if I set setWindowFlags(Qt::FramelessWindowHint) like this, the contextMenu is being disable on my application. if somebody can let me see code or explain a little bit better HOW I DO THAT OVERRIDE of the contextMenu or if I'm wrong and that menu is not the contextMenu thanks so much and hoping somebody show me a little bit of light ![]() |
|
#2
|
|||
|
|||
|
Why do you want to set a frameless window hint? The context menu is frameless out of the box. Try executing this snippet:
|
|
#3
|
|||
|
|||
|
is because im trying to bring up a dialog but my application when I bring it on, the dialog show me the frame and because of how the app looks like, is not elegant to see the frame up and disappear.... so... i just more for UI looks a little bit nice
|
|
#4
|
|||
|
|||
|
What does the context menu have to do with it?
|
|
#5
|
|||
|
|||
|
I forgot to tell you somethiing
when you set the setWindowFlag to be frameless that context menu dont shows up when you right click on the app on the taskbar its suppose to be very simple: restore, maximized, minimized and close |
|
#6
|
|||
|
|||
|
That's because your window manager ignores frameless windows - it doesn't manage them. Try finding a solution to your problem that doesn't involve frameless windows. Or live with an unmanaged window.
|
| The following user says thank you to wysota for this useful post: | ||
smarinr (10th May 2008) | ||
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| contextmenu in QDockWidget title | klipko | Newbie | 4 | 7th March 2008 23:32 |
| I have a problem to modify table | Abk | Qt Programming | 1 | 31st May 2007 21:11 |
| contextmenu with MDI | Thoosle | Qt Programming | 1 | 1st December 2006 08:29 |
| Modify model data in QTreeView | YuriyRusinov | Qt Programming | 6 | 26th October 2006 18:28 |
| ContextMenu | Naveen | Qt Programming | 9 | 21st February 2006 11:54 |