summaryrefslogtreecommitdiff
path: root/src/textviewer.h
diff options
context:
space:
mode:
authorTannin <Tannin@Miranda>2013-02-16 19:09:57 +0100
committerTannin <Tannin@Miranda>2013-02-16 19:09:57 +0100
commit5d1154c24e2475ed2b7ac248de27ab7b501a1e5e (patch)
tree265341b9c8d057da46b56ad9fde40c9b39963ebb /src/textviewer.h
parent44b96e6fb5f484e9a60fe03b99021a1c5f78488d (diff)
- hooks for CreateHardLink
- createprocess hook will now reroute the cwd (fixes SUM, may break other tools?) - profile code moved to separate file - executables can now be linked to toolbar - category filters are now represented as a tree - csv export of mod list - ModInfoDialog is now "window modal" instead of "application modal" - nexus dialog now updates the mod-id field while browsing - right-click in nexus browser allows to open in external browser - ini viewer is no longer modal - bugfix: another attempt to fix processing of invalid header lines in fomod xmls (bom now handled) - bugfix: integrated fomod installer will no longer overwrite detected mod name by the one from the xml - bugfix: "hide file" from conflicted files list now updates that list - bugfix: conflicted files list no longer offers to hide files in BSAs - bugfix: pressing delete on the mod list with multiplie files selected offered to delete the wrong files - regression: mod name guessing with the old regular expression was less likely to lead to an empty mod name. Now both are tried
Diffstat (limited to 'src/textviewer.h')
-rw-r--r--src/textviewer.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/src/textviewer.h b/src/textviewer.h
deleted file mode 100644
index c0d29607..00000000
--- a/src/textviewer.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef TEXTVIEWER_H
-#define TEXTVIEWER_H
-
-#include <QDialog>
-#include <QTabWidget>
-#include <finddialog.h>
-#include <set>
-#include "loghighlighter.h"
-
-namespace Ui {
- class TextViewer;
-}
-
-
-/**
- * @brief tabbed text editor
- **/
-class TextViewer : public QDialog
-{
- Q_OBJECT
-
-public:
-
- /**
- * @brief constructor
- * @param parent parent widget
- **/
- explicit TextViewer(QWidget *parent = 0);
-
- ~TextViewer();
-
- /**
- * @brief set the description text to inform the user what he's editing
- *
- * @param description the description to set
- **/
- void setDescription(const QString &description);
-
- /**
- * @brief add a new tab with the specified file open
- *
- * @param fileName name of the file to open
- * @param writable if true, the file can be modified
- **/
- void addFile(const QString &fileName, bool writable);
-
-protected:
-
- void closeEvent(QCloseEvent *event);
- bool eventFilter(QObject *obj, QEvent *event);
-
-private slots:
-
- void saveFile();
- void modified();
- void patternChanged(QString newPattern);
- void findNext();
-
-private:
-
- void saveFile(const QTextEdit *editor);
- void find();
-
-private:
-
- Ui::TextViewer *ui;
- QTabWidget *m_EditorTabs;
- std::set<QTextEdit*> m_Modified;
- FindDialog *m_FindDialog;
- QString m_FindPattern;
-
-};
-
-#endif // TEXTVIEWER_H