qt4
QSortFilterProxyModel with QSqlTableModel
I am trying out the basic QSortFilterProxyModel example in qt assistant and have made a QSqlTableModel to try and filter.The example i have made is not filtering as it is should and i need assistance[详细]
2023-04-11 01:09 分类:问答How can i make a Qt Quick (QML) ListView Item unselectable?
Can I make a QML Item contained into a ListView object unselectable? Something like this for(var i=0; i < ListView.model.count; i++) {[详细]
2023-04-10 23:00 分类:问答small window appears before QMainWindow startup
I\'m using a QMainWindow as a p开发者_如何学运维rimary window, and call QMainWindow::show() in main.cpp before QApplication::exec().[详细]
2023-04-10 17:06 分类:问答qt menu item does not show
I\'m writing a window manager and I\'m stuck with a problem on Qt4 menu bar elements. When I first click on the menu item, it shows correctly, then I close it and try to open it again but it does not[详细]
2023-04-10 10:07 分类:问答Qt Designer and stylesheets
I have derived a CalibrationWindow from QWidget, and I have a vector of CalibrationWindow*. Now, I\'m trying to change the background color in the Designer with the following stylesheet:[详细]
2023-04-10 07:15 分类:问答Represent drop down menu of QPushButton with Qt Style Sheet?
I\'m wondering which is a proper way for representing the menu dropped down from a QPushButton ? QPushB开发者_如何学Cutton::drop-down { blabla }[详细]
2023-04-10 05:25 分类:问答Represent QTabWidget's tab text in Qt StyleSheet file?
How can i set the font size of 开发者_开发知识库the tab text for a QTabWidget , with Qt\'s StyleSheet file ?[详细]
2023-04-09 21:05 分类:问答displaying image from sqlite error
I have saved an image in sqlite and i am trying to retrieve it and displaying it in a QLabel using this code.[详细]
2023-04-09 19:39 分类:问答Find all strings wanted and select them with QPlainTextEdit::setExtraSelections()
I\'m trying to highlight al开发者_如何学Cl strings find in a QPlainTextEdit widget , but find() will[详细]
2023-04-09 17:24 分类:问答OpenGL Extensions in Qt 4
it\'s possible enable/us开发者_开发知识库e OpenGL (specific version) in Qt 4 (on Desktop) or I have to use glew, etc?Rather than Glew you can include gl3.h, it\'s probably the simplest and most pain f[详细]
2023-04-09 14:27 分类:问答