1 #ifndef HistoryTreeWidget_H
2 #define HistoryTreeWidget_H
The main project for cnetsuite.
void markUndone(QTreeWidgetItem *)
Display the item as an item that has been undone.
void addToHistory(WorkOrder *)
Add a single work order to the display.
int sizeHintForColumn(int column) const
Get the preferred size of a given column.
void markNotUndone(QTreeWidgetItem *)
Display the item as not an item that has been undone - it's working or done.
History Widget for cnetsuite.
HistoryTreeWidget(Project *project, QWidget *parent=0)
Construct a history tree widget.
virtual ~HistoryTreeWidget()
Clean up allocated memory.
void handleUndoIndexChanged(int)
The project's undo stack has changed.
Parent class for anything that performs an action in Project.
void removeFromHistory(QObject *)
A work order was lost...
void updateProgressWidgets()
We need to manually manage these progress widgets because QTreeWidget does a poor job of it...
void showHistory()
This resets the tree widget and re-initializes.
void refit()
This resizes the columns to an okay width for viewing all of the data cleanly.
QTreeWidgetItem * undoCommandToTreeItem(const QUndoCommand *)
Get the QTreeWidgetItem associated with the given undo command (work order).