|
WSF
|
#include <ChangeHistory.hpp>
Inherits QDialog.
Public Slots | |
| void | RestoreSelectedRevision () |
| void | ExportSelectedRevision () |
| void | DeleteAllRevisions () |
| Prompts the user and deletes all existing revisions from the database. | |
| void | UpdateWidgets () |
| Updates the state/content of all widgets. | |
| void | UpdateDiff () |
| Updates the diff file list and the diff itself. | |
| void | NavigateDiff () |
Public Member Functions | |
| ChangeHistory (RevisionStore &aRevisionStore, const UtPath &aProjectDir, QWidget *aParent=nullptr) | |
| ChangeHistory (const ChangeHistory &)=delete | |
| ChangeHistory (ChangeHistory &&)=default | |
| ChangeHistory & | operator= (const ChangeHistory &)=delete |
| ChangeHistory & | operator= (ChangeHistory &&)=default |
| ~ChangeHistory () override=default | |
A class representing the Change History window. This is the main user interface for accessing the backup/restore backend.
|
explicit |
References DeleteAllRevisions(), ExportSelectedRevision(), NavigateDiff(), RestoreSelectedRevision(), UpdateDiff(), and UpdateWidgets().
Referenced by ChangeHistory(), ChangeHistory(), operator=(), and operator=().
|
delete |
References ChangeHistory().
|
default |
References ChangeHistory().
|
overridedefault |
|
slot |
Prompts the user and deletes all existing revisions from the database.
References UpdateWidgets().
Referenced by ChangeHistory().
|
slot |
Prompts the user and attempts to export the currently selected revision to the user-selected location on the file system.
References wizard::ExportFiles::ExportRevision().
Referenced by ChangeHistory().
|
slot |
When the user selects a file in the diff file list, this function will jump the diff display window to the position in the diff where the file is being displayed. This allows quick diff navigation if the diff is large.
Referenced by ChangeHistory().
|
default |
References ChangeHistory().
|
delete |
References ChangeHistory().
|
slot |
Prompts the user and attempts to restore the currently selected revision to the user's project fileset.
Referenced by ChangeHistory().
|
slot |
Updates the diff file list and the diff itself.
Referenced by ChangeHistory(), and UpdateWidgets().
|
slot |
Updates the state/content of all widgets.
References UpdateDiff().
Referenced by ChangeHistory(), and DeleteAllRevisions().