General Purpose Geodetic Library
NsMainWindow Class Reference

#include <NsMainWindow.h>

Inheritance diagram for NsMainWindow:
QMainWindow

Public Member Functions

 NsMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0)
 
virtual ~NsMainWindow ()
 
QProgressBar * progressBar ()
 
QLabel * statusBarMessager ()
 
QString className () const
 
void showStats (const QString &label, int numTot, int numPrc, double wrms, double chi2)
 

Protected Attributes

QToolBar * toolBar_
 
QStringList styleKeys_
 

Private Slots

void newFile ()
 
void openFile ()
 
void saveFile ()
 
void printFile ()
 
void closeFile ()
 
void closeAll ()
 
void flushLog ()
 
void quit ()
 
void editGenConfig ()
 
void editSession ()
 
void openWrapperFile ()
 
void openSession ()
 
void openAgvFile ()
 
void loadLnfSession ()
 
void undo ()
 
void redo ()
 
void cut ()
 
void copy ()
 
void paste ()
 
void preferences ()
 
void selectFont ()
 
void switchToStyle (QAction *)
 
void makeSomething1 ()
 
void testSomething1 ()
 
void testPlotter ()
 
void testFour1 ()
 
void test1 ()
 
void test2 ()
 
void about ()
 
void aboutQt ()
 

Private Member Functions

void createActions ()
 
void createMenus ()
 
void createStatusBar ()
 

Private Attributes

QMenu * fileMenu_
 
QMenu * editMenu_
 
QMenu * changeStyleMenu_
 
QMenu * toolsMenu_
 
QMenu * helpMenu_
 
QMenu * testMenu_
 
QStatusBar * statusBar_
 
QProgressBar * progressBar_
 
QLabel * lStats_
 
QAction * newFileAct_
 
QAction * openFileAct_
 
QAction * saveFileAct_
 
QAction * printFileAct_
 
QAction * closeFileAct_
 
QAction * closeAllAct_
 
QAction * flushLogAct_
 
QAction * quitAct_
 
QAction * editGenConfigAct_
 
QAction * editSessionAct_
 
QAction * openWrapperFileAct_
 
QAction * openSessionAct_
 
QAction * openAgvAct_
 
QAction * loadLnfSessionAct_
 
QAction * undoAct_
 
QAction * redoAct_
 
QAction * cutAct_
 
QAction * copyAct_
 
QAction * pasteAct_
 
QAction * preferencesAct_
 
QAction * selectFontAct_
 
QAction * makeSomething1Act_
 
QAction * testSomething1Act_
 
QAction * testPlotterAct_
 
QAction * testFour1Act_
 
QAction * test1Act_
 
QAction * aboutAct_
 
QAction * aboutQtAct_
 
QLabel * statusBarMessager_
 

Detailed Description

Definition at line 61 of file NsMainWindow.h.

Constructor & Destructor Documentation

◆ NsMainWindow()

◆ ~NsMainWindow()

Member Function Documentation

◆ about

◆ aboutQt

void NsMainWindow::aboutQt ( )
privateslot

◆ className()

◆ closeAll

void NsMainWindow::closeAll ( )
privateslot

Definition at line 525 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ closeFile

void NsMainWindow::closeFile ( )
privateslot

Definition at line 516 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ copy

void NsMainWindow::copy ( )
privateslot

Definition at line 701 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ createActions()

◆ createMenus()

◆ createStatusBar()

void NsMainWindow::createStatusBar ( )
private

◆ cut

void NsMainWindow::cut ( )
privateslot

Definition at line 692 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ editGenConfig

void NsMainWindow::editGenConfig ( )
privateslot

Definition at line 554 of file NsMainWindow.cpp.

References config, and parametersDescriptor.

Referenced by createActions().

◆ editSession

◆ flushLog

void NsMainWindow::flushLog ( )
privateslot

◆ loadLnfSession

void NsMainWindow::loadLnfSession ( )
privateslot

◆ makeSomething1

void NsMainWindow::makeSomething1 ( )
privateslot

Definition at line 760 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ newFile

void NsMainWindow::newFile ( )
privateslot

Definition at line 480 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ openAgvFile

void NsMainWindow::openAgvFile ( )
privateslot

◆ openFile

void NsMainWindow::openFile ( )
privateslot

Definition at line 489 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ openSession

void NsMainWindow::openSession ( )
privateslot

◆ openWrapperFile

void NsMainWindow::openWrapperFile ( )
privateslot

◆ paste

void NsMainWindow::paste ( )
privateslot

Definition at line 710 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ preferences

void NsMainWindow::preferences ( )
privateslot

Definition at line 719 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ printFile

void NsMainWindow::printFile ( )
privateslot

Definition at line 507 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ progressBar()

QProgressBar* NsMainWindow::progressBar ( )
inline

◆ quit

void NsMainWindow::quit ( )
privateslot

Definition at line 544 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ redo

void NsMainWindow::redo ( )
privateslot

Definition at line 683 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ saveFile

void NsMainWindow::saveFile ( )
privateslot

Definition at line 498 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ selectFont

void NsMainWindow::selectFont ( )
privateslot

Definition at line 729 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ showStats()

void NsMainWindow::showStats ( const QString &  label,
int  numTot,
int  numPrc,
double  wrms,
double  chi2 
)

Definition at line 870 of file NsMainWindow.cpp.

References lStats_.

Referenced by createStatusBar(), and longOperationShowStats().

◆ statusBarMessager()

QLabel* NsMainWindow::statusBarMessager ( )
inline

◆ switchToStyle

void NsMainWindow::switchToStyle ( QAction *  action)
privateslot

Definition at line 747 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createMenus().

◆ test1

void NsMainWindow::test1 ( )
privateslot

Definition at line 797 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ test2

void NsMainWindow::test2 ( )
privateslot

Definition at line 806 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

◆ testFour1

void NsMainWindow::testFour1 ( )
privateslot

Definition at line 787 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ testPlotter

void NsMainWindow::testPlotter ( )
privateslot

Definition at line 778 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ testSomething1

void NsMainWindow::testSomething1 ( )
privateslot

Definition at line 769 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

◆ undo

void NsMainWindow::undo ( )
privateslot

Definition at line 674 of file NsMainWindow.cpp.

References className(), SgLogger::DBG, SgLogger::GUI, logger, and SgLogger::write().

Referenced by createActions().

Member Data Documentation

◆ aboutAct_

QAction* NsMainWindow::aboutAct_
private

Definition at line 190 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ aboutQtAct_

QAction* NsMainWindow::aboutQtAct_
private

Definition at line 191 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ changeStyleMenu_

QMenu* NsMainWindow::changeStyleMenu_
private

Definition at line 150 of file NsMainWindow.h.

Referenced by ~NsMainWindow(), and createMenus().

◆ closeAllAct_

QAction* NsMainWindow::closeAllAct_
private

Definition at line 165 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ closeFileAct_

QAction* NsMainWindow::closeFileAct_
private

Definition at line 164 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ copyAct_

QAction* NsMainWindow::copyAct_
private

Definition at line 178 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ cutAct_

QAction* NsMainWindow::cutAct_
private

Definition at line 177 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ editGenConfigAct_

QAction* NsMainWindow::editGenConfigAct_
private

Definition at line 169 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ editMenu_

QMenu* NsMainWindow::editMenu_
private

Definition at line 149 of file NsMainWindow.h.

Referenced by createMenus().

◆ editSessionAct_

QAction* NsMainWindow::editSessionAct_
private

Definition at line 170 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ fileMenu_

QMenu* NsMainWindow::fileMenu_
private

Definition at line 148 of file NsMainWindow.h.

Referenced by createMenus().

◆ flushLogAct_

QAction* NsMainWindow::flushLogAct_
private

Definition at line 166 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ helpMenu_

QMenu* NsMainWindow::helpMenu_
private

Definition at line 152 of file NsMainWindow.h.

Referenced by createMenus().

◆ loadLnfSessionAct_

QAction* NsMainWindow::loadLnfSessionAct_
private

Definition at line 174 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ lStats_

QLabel* NsMainWindow::lStats_
private

Definition at line 157 of file NsMainWindow.h.

Referenced by createStatusBar(), and showStats().

◆ makeSomething1Act_

QAction* NsMainWindow::makeSomething1Act_
private

Definition at line 183 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ newFileAct_

QAction* NsMainWindow::newFileAct_
private

Definition at line 160 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ openAgvAct_

QAction* NsMainWindow::openAgvAct_
private

Definition at line 173 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ openFileAct_

QAction* NsMainWindow::openFileAct_
private

Definition at line 161 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ openSessionAct_

QAction* NsMainWindow::openSessionAct_
private

Definition at line 172 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ openWrapperFileAct_

QAction* NsMainWindow::openWrapperFileAct_
private

Definition at line 171 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ pasteAct_

QAction* NsMainWindow::pasteAct_
private

Definition at line 179 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ preferencesAct_

QAction* NsMainWindow::preferencesAct_
private

Definition at line 180 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ printFileAct_

QAction* NsMainWindow::printFileAct_
private

Definition at line 163 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ progressBar_

QProgressBar* NsMainWindow::progressBar_
private

Definition at line 156 of file NsMainWindow.h.

Referenced by createStatusBar(), and progressBar().

◆ quitAct_

QAction* NsMainWindow::quitAct_
private

Definition at line 167 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ redoAct_

QAction* NsMainWindow::redoAct_
private

Definition at line 176 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ saveFileAct_

QAction* NsMainWindow::saveFileAct_
private

Definition at line 162 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ selectFontAct_

QAction* NsMainWindow::selectFontAct_
private

Definition at line 181 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ statusBar_

QStatusBar* NsMainWindow::statusBar_
private

Definition at line 155 of file NsMainWindow.h.

Referenced by NsMainWindow(), and createStatusBar().

◆ statusBarMessager_

QLabel* NsMainWindow::statusBarMessager_
private

Definition at line 196 of file NsMainWindow.h.

Referenced by createStatusBar(), and statusBarMessager().

◆ styleKeys_

QStringList NsMainWindow::styleKeys_
protected

Definition at line 200 of file NsMainWindow.h.

Referenced by NsMainWindow(), and createMenus().

◆ test1Act_

QAction* NsMainWindow::test1Act_
private

Definition at line 188 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ testFour1Act_

QAction* NsMainWindow::testFour1Act_
private

Definition at line 187 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ testMenu_

QMenu* NsMainWindow::testMenu_
private

Definition at line 153 of file NsMainWindow.h.

Referenced by createMenus().

◆ testPlotterAct_

QAction* NsMainWindow::testPlotterAct_
private

Definition at line 186 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().

◆ testSomething1Act_

QAction* NsMainWindow::testSomething1Act_
private

Definition at line 184 of file NsMainWindow.h.

Referenced by createActions().

◆ toolBar_

QToolBar* NsMainWindow::toolBar_
protected

Definition at line 199 of file NsMainWindow.h.

◆ toolsMenu_

QMenu* NsMainWindow::toolsMenu_
private

Definition at line 151 of file NsMainWindow.h.

Referenced by createMenus().

◆ undoAct_

QAction* NsMainWindow::undoAct_
private

Definition at line 175 of file NsMainWindow.h.

Referenced by createActions(), and createMenus().


The documentation for this class was generated from the following files: