qmainwindow
QMainDialog become modal if has modal QDialog as parent on Mac OS X
I c开发者_StackOverflowreate QMainWindow with parent widget which is modal QDialog. QMainWindow created as modl window ontop of dialog and doesn\'t has active close, minimize buttons and has grayed(un[详细]
2023-04-09 02:00 分类:问答Add QTextEdit objects to a QMainWindow
I seem to be having an issue.Objective:I want to dynamically add QTextEdit to a QMainWindow, I have a lot of data I wish to split amongst various QTextEdit objects.I\'ve been look开发者_如何学Pythonin[详细]
2023-04-02 03:03 分类:问答How to resize QMainWindow after removing all DockWidgets?
I’m trying to make an application consisting of a QMainWindow, the central widget of which is a QToolBar (it may not be usual, but for my purpose the toolbar’s well suited). Docks are allowed below[详细]
2023-03-27 17:59 分类:问答More efficient central widget in a QMainWindow: QGLWidget VS QGraphicsView
I am using a QMainWindow for my app and want to do some openGL rendering. 2 approaches: 1) set as central widget a QGLWidget and do all the rendering there,[详细]
2023-03-17 00:10 分类:问答Qt4: Placing QMainWindow instance inside other QWidget/QMainWindow
I\'d like to place QMainWindow instance inside another QWidget (for example centralWidget of another QMainWindow).[详细]
2023-03-13 08:44 分类:问答Using signal to pop-up a screen
I\'m having a little trouble using a signal to make a little screen appear. Shortening all i have so far, this following code should show my problem.[详细]
2023-03-13 06:35 分类:问答How can I remove/hide all toolbars from a QMainWindow?
I have a third party QMainWindow and I need to embed it in my own QMainWindow (i.e. use it as a normal widget). I know it\'s not a best practise (to say the least) but I have no other way right now.[详细]
2023-03-11 03:43 分类:问答QGraphicsScene, QGraphicsView and QVBoxLayout() problem
Greetings everyone, Every time I run it seems Qt Creator just stop working, when I commented out the line //mainWindow = new MainWindow(); But if the line is not commented out, MainWindow will keep a[详细]
2023-02-23 03:52 分类:问答Problem with hidden QMainWindow: application crashes after QMessageBox is displayed
// main.cpp #include <QApplication> #include \"mainwindow.h\" int main(int argc, char* argv[]) { QApplication app(argc, argv);[详细]
2023-02-13 04:35 分类:问答How can I change the width of a QMainWindow separator without it affecting the QDockWidget
I have a QDockWidget which has been added to a QMainWindow.I set the sizeHint of the DocWidget to be 260px and its the size that I 开发者_JS百科want it to be because nothing else is offering up a size[详细]
2023-02-05 14:52 分类:问答