diff options
author | Tobias Markmann <tm@ayena.de> | 2016-02-17 12:23:20 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-03-04 16:34:34 (GMT) |
commit | 04a84b0eee359aafaafcbfe3e692c3be0b17d235 (patch) | |
tree | 96801b3233c7c823a3fbbf48200aa30dced47719 /Swift/QtUI/QtHighlightEditorWidget.h | |
parent | 51d6af8ca422dca26ffe01756ebb3a9f4ffd8b91 (diff) | |
download | swift-04a84b0eee359aafaafcbfe3e692c3be0b17d235.zip swift-04a84b0eee359aafaafcbfe3e692c3be0b17d235.tar.bz2 |
Remove unneeded files from old highlight editor UI
Test-Information:
./scons test=unit passed without errors on OS X 10.11.3.
Change-Id: I9303fd2d5a08a17d1e8f2ca015bec7c883aeedad
Diffstat (limited to 'Swift/QtUI/QtHighlightEditorWidget.h')
-rw-r--r-- | Swift/QtUI/QtHighlightEditorWidget.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/Swift/QtUI/QtHighlightEditorWidget.h b/Swift/QtUI/QtHighlightEditorWidget.h deleted file mode 100644 index 1293c87..0000000 --- a/Swift/QtUI/QtHighlightEditorWidget.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2012 Maciej Niedzielski - * Licensed under the simplified BSD license. - * See Documentation/Licenses/BSD-simplified.txt for more information. - */ - -#pragma once - -#include <Swift/Controllers/UIInterfaces/HighlightEditorWidget.h> -#include <Swift/QtUI/ui_QtHighlightEditorWidget.h> - -namespace Swift { - - class QtHighlightRulesItemModel; - - class QtHighlightEditorWidget : public QWidget, public HighlightEditorWidget { - Q_OBJECT - - public: - QtHighlightEditorWidget(QWidget* parent = NULL); - virtual ~QtHighlightEditorWidget(); - - void show(); - - void setHighlightManager(HighlightManager* highlightManager); - - private slots: - void onNewButtonClicked(); - void onDeleteButtonClicked(); - void onMoveUpButtonClicked(); - void onMoveDownButtonClicked(); - void onCurrentRowChanged(const QModelIndex&); - - private: - virtual void closeEvent(QCloseEvent* event); - - void selectRow(int row); - int getSelectedRow() const; - - Ui::QtHighlightEditorWidget ui_; - QtHighlightRulesItemModel* itemModel_; - }; - -} |