I created a QtGui with the GuiCreator and added some DockWidgets. I can only allow the nested state from the property editor but how can I set it active for the DockWidgets?
About pyQt4 I prefer to use the static method for the getSaveFilename in the QFileDialog so that the user sees the Windows/Mac native dialog.
I am using QPolygon class. Is there any method which gives the 开发者_开发知识库edges of the respective polygon?If by edges you mean the bounding box (smallest rectangle that encloses the polygon) the
I\'m try开发者_开发问答ing to customize a QTableWidget through stylesheet and I\'m only limited to the items descibed here.
I\'m writing a diagram editor in Qt with Graphics View Framework. Currently I\'m just trying to create a simple Node (QGraphicsItem) on GraphScene (QGraphicsScene). I created a Canvas (QGraphicsView)
I\'ve created a form using the Qt designer which includes a QToolButton. I can turn it using ui->favouriteToolButton.
I have a window with a a QVBoxLayout in it. The layout has some child widgets (defined in a .ui file). In my window class\' constructor, I create and assign a menu to the layout. The position of the w
I\'m working with Qt (version 4.6 on Windows XP 32-bit and compiling in Qt Creator 2.0.0) and trying to get a QWizard to work out.
How can I detect whether a double click on a QWidget (QStatusBar, in my case) occured while a modifier key was held down?
my question is about Qt and its QAbstractItemModel. I have a map of strings and doubles (std::map<stringclass, double>)which I would like to present in a Qt widget. While I could use QTableView