View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006836 | ParaView | (No Category) | public | 2008-04-17 06:50 | 2016-08-12 09:57 | ||||
Reporter | Filip Sadlo | ||||||||
Assigned To | Robert Maynard | ||||||||
Priority | low | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006836: Disabling widgets | ||||||||
Description | There seems to be no correct way to disable (gray out) widgets that are not considered in certain states of a module. I actually use the pqAutoGeneratedObjectPanel class and use findChild() for finding the corresponding QWidget by its name. Then I use setEnabled() for enabling/disabling. The problem is that the label of the widget should be disabled too. I construct the name of the label (from Qt/Components/pqNamedWidgets.cxx:createPanelLabel(): ParaView3.2: %s_label, ParaView3.3:_labelFor%s) und use that name for finding the QWidget of the label, certainly a hack. One solution could be to offer the programmer the possibility to retrieve the QWidget of the widget together with the QWidget of the label, e.g. by the name of the widget as defined in the XML file. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0023439) Utkarsh Ayachit (administrator) 2010-11-19 13:32 |
We will simply connect the enabled/disabled signals from the widget to label. |
(0037567) Kitware Robot (administrator) 2016-08-12 09:57 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-04-17 06:50 | Filip Sadlo | New Issue | |
2008-04-17 09:43 | Ken Moreland | Category | 3.4 => 3.6 |
2009-02-17 15:49 | Ken Moreland | Category | 3.6 => Pending |
2009-02-20 10:52 | Ken Moreland | Category | Pending => 3.8 |
2009-05-13 13:40 | Utkarsh Ayachit | Target Version | => 3.8 |
2010-11-19 13:32 | Utkarsh Ayachit | Note Added: 0023439 | |
2010-11-19 13:32 | Utkarsh Ayachit | Assigned To | => Robert Maynard |
2010-11-19 13:32 | Utkarsh Ayachit | Status | backlog => tabled |
2010-11-19 13:32 | Utkarsh Ayachit | Priority | normal => low |
2011-06-16 13:10 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:57 | Kitware Robot | Note Added: 0037567 | |
2016-08-12 09:57 | Kitware Robot | Status | expired => closed |
2016-08-12 09:57 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |