mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove the old profile from the main screen of Subsurface
This patch partially removes the code for the old profile from Subsurface. It removes the use of the old profile on the mainwindow, but keeping the code in the tree for now. A bit of code-cleanup also entered this commit because I had to change every instance of the code that used the old profile. Now to the real code-cleanup Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6dec4b0556
commit
ac9a23ef3b
9 changed files with 383 additions and 500 deletions
|
@ -60,7 +60,6 @@ public:
|
|||
MainWindow();
|
||||
virtual ~MainWindow();
|
||||
static MainWindow *instance();
|
||||
ProfileGraphicsView *graphics();
|
||||
MainTab *information();
|
||||
void loadRecentFiles(QSettings *s);
|
||||
void addRecentFile(const QStringList &newFiles);
|
||||
|
@ -77,7 +76,7 @@ public:
|
|||
void loadFiles(const QStringList files);
|
||||
void importFiles(const QStringList importFiles);
|
||||
void cleanUpEmpty();
|
||||
QTabWidget *tabWidget();
|
||||
ProfileWidget2 *graphics() const;
|
||||
private
|
||||
slots:
|
||||
/* file menu action */
|
||||
|
@ -119,10 +118,6 @@ slots:
|
|||
void on_actionUserManual_triggered();
|
||||
void on_actionDivePlanner_triggered();
|
||||
|
||||
/* monitor resize of the info-profile splitter */
|
||||
void on_mainSplitter_splitterMoved(int pos, int idx);
|
||||
void on_infoProfileSplitter_splitterMoved(int pos, int idx);
|
||||
|
||||
void current_dive_changed(int divenr);
|
||||
void initialUiSetup();
|
||||
|
||||
|
@ -163,7 +158,6 @@ private:
|
|||
static MainWindow *m_Instance;
|
||||
bool askSaveChanges();
|
||||
void writeSettings();
|
||||
void redrawProfile();
|
||||
void file_save();
|
||||
void file_save_as();
|
||||
void beginChangeState(CurrentState s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue