I wanted to create a simple About dialog, but noticed that the QMessageBox::about does not adjust its size to the length of the title (which is usually longer due to the larger font ...at least in my
I want to show a message box, that is implemented in main.qml (a开发者_C百科s a layer above all other components). The function showMessage() makes the QML message box visible and sets the text. So it
I have learned the basics of Qt and now interested in the depths of that pretty library. Please help me to understand:
I have two images--img1 and img2--and I would like to be able to compare both images. I would like to overlay them over each other with a slider which would let me see more of img1 or img2. Lastl开发者
In the QtCreator change signals/slots context menu, I can\'t insert neither signals nor slots that have parameterized arguments such as: QList<QString>, etc. or even references only re开发者_JAVA技
is there a quick way to r开发者_开发问答ead record from query as a QMap<QString,QVariant> or similar type ?
I have two overlapping widgets in a window child A and child B. Child A is above B and gets mouse events but some开发者_Go百科times the click should pass through and eventually hit child B.
All in the question title, and my simplified code below. According to the docs: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qdialog.html#done
I am trying to make a QGroupBox to have the size of it\'s content, to fit the content. I think I do not understand exactly how this works and I get in this strange situation:
I created a QTableView linked to a QSortFilterProxyModel linked to another model. Under the QTableView (in the GUI) there is a QLineEdit used for \"searching\" an element in t开发者_如何学Che view.