Bug report #909
Plugin manager usability problems
|Assignee:||Fernando Pacheco -|
|Affected QGIS version:||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10968|
I have problems using using plugin manager since r7858. Sometimes I have to click several times on the check box of a plugin to enable/disable it. Moreover now one line of the list takes more space than necessary.
It would be good to convert the list from QTableView to QTreeView which is more appropriate substitution of old Q3ListView.
#2 Updated by Martin Dobias almost 14 years ago
Replying to [comment:1 timlinux]:
Martin did you mean QListView actually in your original but report?
No, I mean QTreeView... from Qt4.3 documentation of QListView:
This view does not display horizontal or vertical headers; to display a list of items with a horizontal header, use QTreeView instead.
... since we want a header, QTreeView is the class to use. For example, plugin installer also uses it for the list of plugins
#4 Updated by Fernando Pacheco - almost 14 years ago
Ok. I'm working to solve the problem. I really think that QTableView (with a checkbox in a cell) is the best choice for this user interface because we don't need subitems for each item (QTreeView). One solution would be to get the click on this item to enabled or disable the item. I will try. Regards. Fernando.
#6 Updated by Tim Sutton almost 14 years ago
- Status changed from Open to Closed
- Resolution set to fixed
Hi. I've applied Fernandos 'click' fix as d9960cf0 (SVN r7990).I think table view can be used and still have better useability by using the QTableView::resizeRowToContents() call. Im not sure how this can be used easily with QAbstractListModel but will be something worth investigating in the future. I've attached a screenshot to illustrate this.
For now I think the updates Fernando give equivalent functionality to the 0.9.1 plugin manager while discarding the qt3 deps, so Im closing this ticket.