diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-06-18 17:42:01 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-06-20 14:01:28 +0200 |
commit | e7ac9facd361f81f6922d583a4675b7d6019e24b (patch) | |
tree | 7634f19237525e97fa26993794609754c32574d2 /src/plugins/help/externalhelpwindow.h | |
parent | b2a2a893581433ac06ef29569aba491a7db92e90 (diff) |
Help: Implement a real external help window
With this patch it is just used with the context help "always show in
external window" option.
Change-Id: I4bc6ba8e0e241500f6970d4cb72f66ba02075ef5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/plugins/help/externalhelpwindow.h')
-rw-r--r-- | src/plugins/help/externalhelpwindow.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/plugins/help/externalhelpwindow.h b/src/plugins/help/externalhelpwindow.h deleted file mode 100644 index 9739d99019..0000000000 --- a/src/plugins/help/externalhelpwindow.h +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of Qt Creator. -** -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -****************************************************************************/ - -#ifndef EXTERNALHELPWINDOW -#define EXTERNALHELPWINDOW - -#include <QMainWindow> - -QT_FORWARD_DECLARE_CLASS(QCloseEvent) -QT_FORWARD_DECLARE_CLASS(QToolButton) - -namespace Help { - namespace Internal { - -class ExternalHelpWindow : public QMainWindow -{ - Q_OBJECT - -public: - ExternalHelpWindow(QWidget *parent = 0); - virtual ~ExternalHelpWindow(); - -signals: - void activateIndex(); - void activateContents(); - void activateSearch(); - void activateBookmarks(); - void activateOpenPages(); - void addBookmark(); - void showHideSidebar(); - -protected: - void closeEvent(QCloseEvent *event); - bool eventFilter(QObject *obj, QEvent *event); -}; - - } // Internal -} // Help - -#endif // EXTERNALHELPWINDOW |