qt4
How to set the background QBrush of a QMdiArea widget to a gradient of system colors?
I\'m trying to set the background QBrush of a QMdiArea widget in Qt4 to a gradient of system colors. Here\'s some code I have now:[详细]
2023-04-05 15:13 分类:问答How to display a widget inside a main window
I have a project marines and i have the following files structure. marines.pro FORMS iran.ui marines.h Headers[详细]
2023-04-05 12:46 分类:问答mupdf: how to put a fz_pixmap into Qt4 QPixmap
I am trying to exploit mupdf library (Qt4 app). I have taken some code from pdfdraw.c. I was able t开发者_如何学运维o create a pixmap (fz_pixmap) from a pdf page. Now I need to display the pixmap. It[详细]
2023-04-05 08:07 分类:问答How to identify QEvent sender
I have reimplemented QWidget::event() handler, where I am handling windowStateChange event. I was w开发者_StackOverflow中文版ondering if there is any way to identify which widget sends this event.No,[详细]
2023-04-05 07:28 分类:问答Is it possible to draw focus rect for whole QTableWidget row?
I have a QTableWidget simple table, which have many rows and columns. So, what I need, is to draw focus rect over the whole selected row, as QTreeView/QTreeWidget could do.[详细]
2023-04-05 05:11 分类:问答referencing mupdf in Qt4 project
I have libfitz.a and libmupdf.a in /usr/local/lib (previously compiled). then I included the headers: #include <fitz.h>[详细]
2023-04-05 01:31 分类:问答QTreeView / QAbstractItemModel - adding items and using beginInsertRows
I\'开发者_Python百科m implementing my model based on QAbstractItemModel and I\'m using it with QTreeView to display hierachical data. Data are stored in sqlite table.[详细]
2023-04-04 18:08 分类:问答HowTo draw border for QTableWidget row?
I\'m trying to make a border for rows in QTableWidget with different ways, but all solutions don\'t respond my requirements. All that I want, is to draw a rectangle around a whole row. I had try QStyl[详细]
2023-04-04 15:39 分类:问答Qt error "persistent model indexes corrupted" why?
I\'ve a problem with my Qt/interview application. I use QTreeView to display tree data. I implemented my own model based on QAbstractItemModel.[详细]
2023-04-04 15:13 分类:问答Updating a record in QSqlTableModel
I am trying to update a record and i have this: tableModel->select(); QModelIndex index = ui.tableView->currentIndex();[详细]
2023-04-04 09:10 分类:问答