Isis Developer Reference
|
History Widget for ipce. More...
#include <HistoryTreeWidget.h>
Public Member Functions | |
HistoryTreeWidget (Project *project, QWidget *parent=0) | |
Construct a history tree widget. | |
virtual | ~HistoryTreeWidget () |
Clean up allocated memory. | |
void | addToHistory (QString historyEntry) |
Add a non-workorder history to the display. | |
Protected Member Functions | |
int | sizeHintForColumn (int column) const |
Get the preferred size of a given column. | |
History Widget for ipce.
This widget shows the history of work orders performed on the project.
Construct a history tree widget.
project | The project to show history for |
parent | The Qt-relationship parent |
References addToHistory(), and Isis::Project::undoStack().
|
virtual |
Clean up allocated memory.
void Isis::HistoryTreeWidget::addToHistory | ( | QString | historyEntry | ) |
Add a non-workorder history to the display.
(QString) | historyEntry The string displayed in the history tree |
Referenced by HistoryTreeWidget().
|
protected |
Get the preferred size of a given column.
This is used by resizeColumnToContents().
The work order name column prefers space not taken by other columns. The progress column prefers 200. The date column prefers a little more than the text size of a date.