11#include "ui_ScriptRepositoryView.h"
13#include <QStyledItemDelegate>
33 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &
index)
const override;
34 bool editorEvent(QEvent *event, QAbstractItemModel *model,
const QStyleOptionViewItem &option,
35 const QModelIndex &
index)
override;
36 QSize sizeHint(
const QStyleOptionViewItem &option,
const QModelIndex &
index)
const override;
37 QIcon getIcon(
const QString &state)
const;
43 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &
index)
const override;
44 bool editorEvent(QEvent *event, QAbstractItemModel *model,
const QStyleOptionViewItem &option,
45 const QModelIndex &
index)
override;
52 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &
index)
const override;
53 bool editorEvent(QEvent *event, QAbstractItemModel *model,
const QStyleOptionViewItem &option,
54 const QModelIndex &
index)
override;
70 void cell_activated(
const QModelIndex & );
72 void currentChanged(
const QModelIndex ¤t);
74 void openFolderLink(
const QString & );
77 Ui::ScriptRepositoryView *
ui;
#define EXPORT_OPT_MANTIDQT_COMMON
std::map< DeltaEMode::Type, std::string > index
RepoModel : Wrapper for ScriptRepository to fit the Model View Qt Framework.
Delegate to show the checkbox for configuring the auto update.
Delegate to show the icon to remove the entry from the local and central repository.
Delegate to show the icons Download and Upload.
ScriptRepositoryView : Provide the User Interface to the ScriptRepository.
Ui::ScriptRepositoryView * ui
void loadScript(const QString)
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...