aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggermainwindow.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2010-12-02 17:33:39 +0100
committerhjk <[email protected]>2010-12-02 17:34:04 +0100
commit05f6151d33f4281d892a9409023d32053d58deb6 (patch)
tree7c1a88e40dcc37e0aa035479b84eeebe9efa7df7 /src/plugins/debugger/debuggermainwindow.cpp
parentdef49bf9a62bf0c61984bd8e9bcc9827d0f61c80 (diff)
debugger: merger DebuggerMainWindow and DebuggerUISwitcher
Diffstat (limited to 'src/plugins/debugger/debuggermainwindow.cpp')
-rw-r--r--src/plugins/debugger/debuggermainwindow.cpp78
1 files changed, 0 insertions, 78 deletions
diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp
index 2a3c479ff80..e69de29bb2d 100644
--- a/src/plugins/debugger/debuggermainwindow.cpp
+++ b/src/plugins/debugger/debuggermainwindow.cpp
@@ -1,78 +0,0 @@
-/**************************************************************************
-**
-** This file is part of Qt Creator
-**
-** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-**
-** Contact: Nokia Corporation ([email protected])
-**
-** Commercial Usage
-**
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-** 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.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at http://qt.nokia.com/contact.
-**
-**************************************************************************/
-
-#include "debuggermainwindow.h"
-#include "debuggeruiswitcher.h"
-
-#include <QtGui/QMenu>
-#include <QtGui/QDockWidget>
-
-#include <QtCore/QDebug>
-
-namespace Debugger {
-namespace Internal {
-
-DebuggerMainWindow::DebuggerMainWindow(DebuggerUISwitcher *uiSwitcher, QWidget *parent) :
- FancyMainWindow(parent), m_uiSwitcher(uiSwitcher)
-{
- // TODO how to "append" style sheet?
- // QString sheet;
- // After setting it, all prev. style stuff seem to be ignored.
- /* sheet = QLatin1String(
- "Debugger--DebuggerMainWindow::separator {"
- " background: black;"
- " width: 1px;"
- " height: 1px;"
- "}"
- );
- setStyleSheet(sheet);
- */
-}
-
-QMenu *DebuggerMainWindow::createPopupMenu()
-{
- QMenu *menu = 0;
-
- const QList<QDockWidget* > dockwidgets = m_uiSwitcher->dockWidgets();
-
- if (!dockwidgets.isEmpty()) {
- menu = FancyMainWindow::createPopupMenu();
-
- foreach (QDockWidget *dockWidget, dockwidgets) {
- if (dockWidget->parentWidget() == this)
- menu->addAction(dockWidget->toggleViewAction());
- }
- menu->addSeparator();
- }
-
- return menu;
-}
-
-} // namespace Internal
-} // namespace Debugger