Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#909 closed defect (fixed)

Plugin manager usability problems

Reported by: wonder Owned by: fpacheco
Priority: minor: annoyance Milestone:
Component: C++ Plugins Version: Trunk
Keywords: useability Cc:
Must Fix for Release: No Platform: Linux
Platform Version: Awaiting user input: no

Description

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.

Attachments (2)

ticket909patch.diff (8.4 KB ) - added by fpacheco 16 years ago.
plugin_manager.jpg (37.9 KB ) - added by timlinux 16 years ago.
Row height adjusted to content

Download all attachments as: .zip

Change History (10)

comment:1 by timlinux, 16 years ago

Owner: changed from nobody to fpacheco

Martin did you mean QListView actually in your original but report? Fernando could you look at Martins comments and try to address them?

Many thanks

Tim

in reply to:  1 comment:2 by wonder, 16 years ago

Replying to 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

Martin

comment:3 by homann, 16 years ago

Unsure iof this is relatedm, but I have issues unchecking/checking in legend view (turning layer on off). Must click more than once sometimes.

comment:4 by fpacheco, 16 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.

by fpacheco, 16 years ago

Attachment: ticket909patch.diff added

comment:5 by fpacheco, 16 years ago

I think is solved. Now you can click the text (or the cell) with the checkbox to enable o disabled the plugin (like a checkbox!). I have attached the diff with the patch. Thanks wonder!. Regards. Fernando.

comment:6 by timlinux, 16 years ago

Resolution: fixed
Status: newclosed

Hi. I've applied Fernandos 'click' fix as r7989.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.

Tim

by timlinux, 16 years ago

Attachment: plugin_manager.jpg added

Row height adjusted to content

comment:7 by timlinux, 16 years ago

Keywords: useability added

comment:8 by (none), 15 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.