From 84c66727bff954fd0820fc9f33833848496e9531 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 14 Jul 2014 21:22:44 +0200 Subject: - when highlighting a mod the overwritten and overwriting mods are now highlighted in the list - when starting an external application MO now wraps the process in a job and waits on that instead. This way MO is not unlocked early when skyrim is started through skse - mod info dialog no longer offers the esp tab for foreign mods because that caused confusion - updated translation files - download directory and mod directory are now created if necessary - bugfix: staging script created unnecessary copies of translation files - bugfix: potential invalid array access when trying to determine best mod order - bugfix: deleter file wasn't removed after esp hiding was disabled - bugfix: potential access to to un-initialized login reply - bugfix: changed the initialization order to allow more ui controls to be localized --- src/viewmarkingscrollbar.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/viewmarkingscrollbar.h (limited to 'src/viewmarkingscrollbar.h') diff --git a/src/viewmarkingscrollbar.h b/src/viewmarkingscrollbar.h new file mode 100644 index 00000000..12a297d1 --- /dev/null +++ b/src/viewmarkingscrollbar.h @@ -0,0 +1,22 @@ +#ifndef VIEWMARKINGSCROLLBAR_H +#define VIEWMARKINGSCROLLBAR_H + +#include +#include + + +class ViewMarkingScrollBar : public QScrollBar +{ +public: + static const int DEFAULT_ROLE = Qt::UserRole + 42; +public: + ViewMarkingScrollBar(QAbstractItemModel *model, QWidget *parent = 0, int role = DEFAULT_ROLE); +protected: + virtual void paintEvent(QPaintEvent *event); +private: + QAbstractItemModel *m_Model; + int m_Role; +}; + + +#endif // VIEWMARKINGSCROLLBAR_H -- cgit v1.3.1