[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Mon Sep 8 19:28:25 CEST 2008
SVN commit 858777 by fenton:
Remove ViewManager options.
M +0 -18 mainwindow.cpp
M +0 -4 mainwindow.h
--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #858776:858777
@@ -67,7 +67,6 @@
_scalarEditor = 0;
_stringEditor = 0;
_matrixEditor = 0;
- _viewManager = 0;
_doc = new Document(this);
_tabWidget = new TabWidget(this);
_undoGroup = new QUndoGroup(this);
@@ -93,8 +92,6 @@
_vectorEditor = 0;
delete _dataManager;
_dataManager = 0;
- delete _viewManager;
- _viewManager = 0;
delete _doc;
_doc = 0;
}
@@ -506,11 +503,6 @@
_dataManagerAct->setIcon(QPixmap(":kst_datamanager.png"));
connect(_dataManagerAct, SIGNAL(triggered()), this, SLOT(showDataManager()));
- _viewManagerAct = new QAction(tr("View &Manager..."), this);
- _viewManagerAct->setStatusTip(tr("Show Kst's view manager window"));
- _viewManagerAct->setIcon(QPixmap(":kst_viewmanager.png"));
- connect(_viewManagerAct, SIGNAL(triggered()), this, SLOT(showViewManager()));
-
_vectorEditorAct = new QAction(tr("&View Vectors..."), this);
_vectorEditorAct->setStatusTip(tr("Show all vectors in a spreadsheet"));
connect(_vectorEditorAct, SIGNAL(triggered()), this, SLOT(showVectorEditor()));
@@ -670,7 +662,6 @@
_dataMenu->addAction(_stringEditorAct);
_viewMenu = menuBar()->addMenu(tr("&View"));
- _viewMenu->addAction(_viewManagerAct);
_viewMenu->addAction(_tiedZoomAct);
_viewMenu->addSeparator();
@@ -734,7 +725,6 @@
_layoutToggleToolBar->addAction(_layoutModeAct);
_zoomToolBar = addToolBar(tr("Zoom"));
- //_viewToolBar->addAction(_viewManagerAct); // doesn't do anything yet
_zoomToolBar->addAction(_tiedZoomAct);
_layoutToolBar = new QToolBar(tr("Layout"), this);
@@ -903,14 +893,6 @@
}
-void MainWindow::showViewManager() {
- if (!_viewManager) {
- _viewManager = new ViewManager(this);
- }
- _viewManager->show();
-}
-
-
void MainWindow::showVectorEditor() {
if (!_vectorEditor) {
_vectorEditor = new VectorEditorDialog(this, _doc);
--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.h #858776:858777
@@ -32,7 +32,6 @@
class TabWidget;
class VectorEditorDialog;
class View;
-class ViewManager;
class MainWindow : public QMainWindow
{
@@ -55,7 +54,6 @@
void showScalarEditor();
void showMatrixEditor();
void showStringEditor();
- void showViewManager();
void showSettingsDialog();
void showDifferentiateCurvesDialog();
void showChooseColorDialog();
@@ -124,7 +122,6 @@
ScalarEditorDialog *_scalarEditor;
StringEditorDialog * _stringEditor;
MatrixEditorDialog *_matrixEditor;
- ViewManager *_viewManager;
QPointer<QProgressBar> _progressBar;
@@ -174,7 +171,6 @@
QAction *_matrixEditorAct;
QAction *_stringEditorAct;
- QAction *_viewManagerAct;
QAction *_layoutModeAct;
QAction *_tiedZoomAct;
More information about the Kst
mailing list