View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000404 | FreeCAD | Feature | public | 2011-07-20 05:16 | 2011-09-16 04:23 |
| Reporter | lparry91 | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | have not tried |
| Status | closed | Resolution | won't fix | ||
| Product Version | trunk | ||||
| Summary | 0000404: Implement a custom Qlistwidget widget in Mods/Sketcher/Gui/TaskSketcherGeneral.cpp | ||||
| Description | Currently the Qlistwidget is created using Qt Designer. I'd like to create a custom class based on Qlistwidget and use this in TaskSketcherContrains.ui It would allow more efficient multiple selection using methods which require QModelIndex. It may also allow customisation and improve efficiency when working with a larger number of item entries.... Note: This is the same with other Qlistwidgets in Freecad. | ||||
| Additional Information | I'll try implementing this, just asking if its alright. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
I see no problem to use a other List widget. You can change the .ui code by hand if you wish. Or what exactly is the feature request about. What do you want us to do!? |
|
|
I'll implement this when I can. I'll use developer forum next time for developer specific stuff. Thanks! |
|
|
To have multi-selection enabled you can call: ui->listWidgetConstraints->setSelectionMode(QAbstractItemView::ExtendedSelection); I don't really see a need to have a special list widget here. Usually when you work with QModelIndex and want to have some extensions here and there you subclass QItemDelegate or QAbstractItemDelegate, QStandardItemModel or QAbstractItemModel |
|
|
Since Luke volunteered to implement its own feature request ;) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-07-20 05:16 | lparry91 | New Issue | |
| 2011-07-20 14:45 |
|
Note Added: 0000931 | |
| 2011-07-21 18:11 | unauthenticated | Note Added: 0000936 | |
| 2011-07-28 12:11 | wmayer | Note Added: 0000953 | |
| 2011-09-16 04:23 |
|
Note Added: 0001080 | |
| 2011-09-16 04:23 |
|
Status | new => closed |
| 2011-09-16 04:23 |
|
Resolution | open => won't fix |
FreeCAD