qlistwidget
Making QListWidget resize its items to fill space
I\'ve got a QListWidget and I\'ve got a custom widget class, which I\'m creating an instance of for each item appearing in the list widget.[详细]
2023-04-13 04:03 分类:问答QList with columns
Do开发者_开发知识库es anyone know of an easy way to create a QlistView or QListWidget with columns?[详细]
2023-04-09 06:08 分类:问答Qt Database content view / manipulation as list view
I have a database, which tables should viewed in a widget. Seems simple, but I can\'t decide what to du or use.[详细]
2023-04-07 13:48 分类:问答Qt forbid declaration of QListView with no type
I have a very strange error in my Qt project. Here is the code, the main_window.h: #include <QtGui>[详细]
2023-04-06 05:47 分类:问答PyQt4 - Remove Item Widget from QListWidget
I have a QListWidget and I need to remove some items. From what I\'ve researched, this is a generally unpleasant thing to do.[详细]
2023-04-05 22:40 分类:问答How to customize QListWidget with different highlight bar and spacing
I\'m working on an application that needs to have a menu on the left side of the screen containing multiple items (text).The only items I want to be visible are the actual text and the highlight bar.I[详细]
2023-04-01 03:36 分类:问答Can I store some user data in every item of a QListWidget?
I want to store some filenames in a QListWidget. I need to have the full file paths, but I only want to show the base filename. I probably could store the full 开发者_运维技巧filename in the tooltip f[详细]
2023-03-29 08:27 分类:问答How to create an 'array-like' property that JS code can modify in place?
I have a QObject-derived class that looks like this: class TestObject : public QObject { Q_OBJECT Q_PROPERTY(QStringList contents READ contents WRITE setContents)[详细]
2023-03-28 12:07 分类:问答How do I remove all the selected items in a QListWidget?
QListWidget::selectedItems returns a list of QListWidgetItem, but the only function for removing an item that I found is takeItem, which accepts only indexes, and selectedIndex开发者_运维问答es functi[详细]
2023-03-27 04:30 分类:问答Multiple Selection QTreeWidget
Does anyone know if its possible to select multiple items on a QTreeWidget and how to go about enabling the multiple selection?[详细]
2023-03-25 02:53 分类:问答