qwidget
How do I know if my Widget is obscured by another application or visible to the user?
Create a new widget, show it, and hide it behind another application. Is there a way to find out if the widget is visible to the user?[详细]
2023-03-31 20:32 分类:问答How can I add resizable widgets in Qt Creator?
How can I add resizable widget开发者_StackOverflow中文版s in Qt Creator? Specially widgets in QVBoxLayout or QHBoxLayoutExample:[详细]
2023-03-31 07:48 分类:问答Qt QTreeView - Revert to previous selection when condition not met
On QTreeView selection change, I would like to revert to the previous selection if a certain condition is not met.[详细]
2023-03-30 22:55 分类:问答Issue with QGLWidget
I have a problem with QGLWidget. Actually, with the mouse actions, the QGLWidget will get updated. I have a requirement to open another window from this widget, for example with a double click event.[详细]
2023-03-30 06:43 分类:问答Why is QWidget's destructor not virtual?
Looking at qwidget.h, I found the destructor as below: ~QWidget(); I was wondering why this is not开发者_如何学运维 declared as virtualThe destructor is virtual, because QWidget derives from QObjec[详细]
2023-03-29 11:37 分类:问答QWidget not updating/repainting consistently
I\'m building a CAD-like application, when the viewport object selection changes a signal is emitted containing a QHash of the new objects.This signal is caught by it\'s document sub window which lift[详细]
2023-03-27 09:30 分类:问答custom QWidget layout problems
I\'m pretty new to QT and I\'ve made my first custom QWidge开发者_如何学Ct subclass...it all works well, until I try adding some labels to it. They all get squashed into the top corner.[详细]
2023-03-27 05:06 分类:问答qt4: overriding event-handler methods of widgets created by UI editor
I would like to know if it is possible to override methods like paintEvent or mousePressEvent, for example, for widgets that were开发者_运维知识库n\'t created programmatically but in UI editor.There i[详细]
2023-03-26 13:02 分类:问答Translucent QWidget should be clickable cross-os
I\'m trying to accomplish the following with a Qt (C++) app, cross OS. Upon running the program a new window pops up, a fullscreen QWidget. Now I want this to be see-through/transparent, so the user w[详细]
2023-03-25 18:30 分类:问答Duplicate a QWidget
I need to be able to copy a Qwidget so I can duplicate a window because it will change during runtime. is this possible?[详细]
2023-03-22 09:36 分类:问答