Isis 3.0 Object Programmers' Reference |
Home |
#include <ProjectTreeWidget.h>
Public Slots | |
void | addControlGroup (ControlList *controlList) |
void | addControl (Control *control) |
void | addImageGroup (ImageList *images) |
Signals | |
void | delayedEnableEditing (QTreeWidgetItem *itemToEnableEditingOn) |
Public Member Functions | |
ProjectTreeWidget (Directory *directory=0, QWidget *parent=0) | |
ProjectTreeWidget constructor. | |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *event) |
Private Slots | |
void | enableEditing (QTreeWidgetItem *item) |
This slot exists to re-create the textual editor on an item after Qt has destroyed the editor. | |
void | onItemChanged (QTreeWidgetItem *item, int column) |
void | onProjectNameChanged () |
void | onSelectionChanged () |
Private Member Functions | |
void | initProjectTree () |
Private Attributes | |
Directory * | m_directory |
QTreeWidgetItem * | m_projectItem |
QTreeWidgetItem * | m_cnetsParentItem |
QTreeWidgetItem * | m_imagesParentItem |
QTreeWidgetItem * | m_shapeParentItem |
QTreeWidgetItem * | m_targetParentItem |
QTreeWidgetItem * | m_spacecraftParentItem |
QTreeWidgetItem * | m_resultsParentItem |
bool | m_ignoreEdits |
2012-07-30 Kimberly Oyama and Steven Lambright - Improved context menu support and selection of image list.
2012-12-19 Steven Lambright and Stuart Sides - Finished initial implementation of rename project use case. Text will now remain in editing mode if the project name is invalid.
Definition at line 26 of file ProjectTreeWidget.h.
ProjectTreeWidget constructor.
ProjectTreeWidget is derived from QTreeWidget
parent |
Definition at line 36 of file ProjectTreeWidget.cpp.
References enableEditing().
|
privateslot |
This slot exists to re-create the textual editor on an item after Qt has destroyed the editor.
This happens when an invalid project name is entered, for example. The validation occurs when Qt has not yet destroyed the text editor, so the only way to preserve the editing mode is a delayed re-creation of it.
item | The item that will become editable (always column 0) |
Definition at line 226 of file ProjectTreeWidget.cpp.
Referenced by ProjectTreeWidget().