Logo Search packages:      
Sourcecode: qtoctave version File versions  Download package

void MainWindow::show_menu_base (  ) 

Show base menu.

Definition at line 233 of file mainwindow.cpp.

References createAction(), createMenu(), menubar, and menus.

Referenced by MainWindow().

{
      menubar->addAction(menuFile->menuAction());
      
      menubar->addAction(menuData->menuAction());
      
      menubar->addAction(menuMatrix->menuAction());
      menubar->addAction(menuStatistics->menuAction());
      menubar->addAction(menuPlot->menuAction());
      
      menuFile->addAction(actionOpen);
      menuFile->addAction(actionEditor);
      menuFile->addAction(createAction("cd","Change dir"));
      menuFile->addAction(createAction("exit","Exit", QString( ICON_PATH )+"/button_cancel.png"));
      
      menuData->addAction(actionTable);
      menuMatrix->addAction(createAction("+","A+B"));
      menuMatrix->addAction(createAction("*","A*B"));
      menuMatrix->addAction(createAction("**","A**n Exponential"));
      menuMatrix->addAction(actionDeterminant);
      menuMatrix->addAction(actionEigenvalues);
      menuMatrix->addAction(actionInverse);
      menuMatrix->addAction(actionTranspose);
      menuMatrix->addAction(actionSubmatrix);
      menuStatistics->addAction(actionMean);
      menuStatistics->addAction(actionMedian);
      menuStatistics->addAction(actionStd);
      menuStatistics->addAction(actionCov);
      menuStatistics->addAction(actionCorrcoef);
      menuStatistics->addAction(createAction("hist", "Histogram"));
      menuPlot->addAction(menuExport->menuAction());
      menuPlot->addAction(menu2DPlot->menuAction());
      menuPlot->addAction(createMenu("menu3DPlot","3D...")->menuAction());
      menu2DPlot->addAction(actionPlot);
      menu2DPlot->addAction(actionPolar);
      menu2DPlot->addAction(actionLogLog);
      menu2DPlot->addAction(actionSemilogy);
      menu2DPlot->addAction(actionSemilogx);
      menu2DPlot->addAction(createAction("errorbar", "Error Bars"));
      menu2DPlot->addAction(createAction("hist", "Histogram"));
      menu2DPlot->addAction(createAction("bar", "Bar graph"));
      menus.value("menu3DPlot")->addAction(createAction("mesh","Plot of three-dimensional surface"));
      menus.value("menu3DPlot")->addAction(createAction("contour","Contour plot of three-dimensional surface"));
      menuPlot->addAction(actionAxis);
      menuPlot->addAction(actionTitleLabel);
      menuExport->addAction(actionToEPS);
      menuExport->addAction(actionToPDF);
      menuExport->addAction(actionToPNG);
}


Generated by  Doxygen 1.6.0   Back to index