labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

CantorWorksheetView Class Reference

#include <CantorWorksheetView.h>

Inheritance diagram for CantorWorksheetView:
[legend]
Collaboration diagram for CantorWorksheetView:
[legend]

Public Slots

void createContextMenu (QMenu *)
 
void fillToolBar (QToolBar *)
 

Public Member Functions

 CantorWorksheetView (CantorWorksheet *)
 
 ~CantorWorksheetView () override
 

Private Slots

void triggerCantorAction (QAction *)
 
void statusChanged (Cantor::Session::Status)
 

Private Member Functions

void initActions ()
 
void initMenus ()
 

Private Attributes

CantorWorksheetm_worksheet
 
KParts::ReadWritePart * m_part {nullptr}
 
QAction * m_evaluateEntryAction {nullptr}
 
QAction * m_insertCommandEntryAction {nullptr}
 
QAction * m_insertTextEntryAction {nullptr}
 
QAction * m_insertMarkdownEntryAction {nullptr}
 
QAction * m_insertLatexEntryAction {nullptr}
 
QAction * m_insertPageBreakAction {nullptr}
 
QAction * m_removeCurrentEntryAction {nullptr}
 
QAction * m_computeEigenvectorsAction {nullptr}
 
QAction * m_createMatrixAction {nullptr}
 
QAction * m_computeEigenvaluesAction {nullptr}
 
QAction * m_invertMatrixAction {nullptr}
 
QAction * m_differentiationAction {nullptr}
 
QAction * m_integrationAction {nullptr}
 
QAction * m_solveEquationsAction {nullptr}
 
QAction * m_restartBackendAction {nullptr}
 
QAction * m_evaluateWorsheetAction {nullptr}
 
QAction * m_zoomIn {nullptr}
 
QAction * m_zoomOut {nullptr}
 
QAction * m_find {nullptr}
 
QAction * m_replace {nullptr}
 
QAction * m_syntaxHighlighting {nullptr}
 
QAction * m_lineNumbers {nullptr}
 
QAction * m_animateWorksheet {nullptr}
 
QAction * m_latexTypesetting {nullptr}
 
QAction * m_showCompletion {nullptr}
 
QMenu * m_worksheetMenu {nullptr}
 
QMenu * m_linearAlgebraMenu {nullptr}
 
QMenu * m_calculateMenu {nullptr}
 
QMenu * m_settingsMenu {nullptr}
 

Detailed Description

Definition at line 42 of file CantorWorksheetView.h.

Constructor & Destructor Documentation

◆ CantorWorksheetView()

CantorWorksheetView::CantorWorksheetView ( CantorWorksheet worksheet)
explicit

File : CantorWorksheetView.cpp Project : LabPlot

Description : View class for CantorWorksheet

Copyright : (C) 2015 Garvit Khatri (garvi.nosp@m.tdel.nosp@m.hi@gm.nosp@m.ail..nosp@m.com)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 41 of file CantorWorksheetView.cpp.

References CantorWorksheet::backendName(), createContextMenu(), i18n, initActions(), m_part, m_worksheet, CantorWorksheet::part(), CantorWorksheet::requestProjectContextMenu(), CantorWorksheet::statusChanged(), and statusChanged().

◆ ~CantorWorksheetView()

CantorWorksheetView::~CantorWorksheetView ( )
override

Definition at line 265 of file CantorWorksheetView.cpp.

References m_part.

Member Function Documentation

◆ createContextMenu

void CantorWorksheetView::createContextMenu ( QMenu *  menu)
slot

Populates the menu menu with the CantorWorksheet and CantorWorksheet view relevant actions. The menu is used

Definition at line 217 of file CantorWorksheetView.cpp.

References initMenus(), m_calculateMenu, m_find, m_linearAlgebraMenu, m_part, m_replace, m_restartBackendAction, m_settingsMenu, m_worksheetMenu, m_zoomIn, and m_zoomOut.

Referenced by CantorWorksheetView().

◆ fillToolBar

void CantorWorksheetView::fillToolBar ( QToolBar *  toolbar)
slot

Definition at line 250 of file CantorWorksheetView.cpp.

References m_evaluateWorsheetAction, m_part, and m_restartBackendAction.

◆ initActions()

◆ initMenus()

◆ statusChanged

void CantorWorksheetView::statusChanged ( Cantor::Session::Status  status)
privateslot

◆ triggerCantorAction

void CantorWorksheetView::triggerCantorAction ( QAction *  action)
privateslot

Slot for actions triggered

Definition at line 260 of file CantorWorksheetView.cpp.

References asan_symbolize::action, and m_part.

Referenced by initActions().

Member Data Documentation

◆ m_animateWorksheet

QAction* CantorWorksheetView::m_animateWorksheet {nullptr}
private

Definition at line 82 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_calculateMenu

QMenu* CantorWorksheetView::m_calculateMenu {nullptr}
private

Definition at line 88 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initMenus().

◆ m_computeEigenvaluesAction

QAction* CantorWorksheetView::m_computeEigenvaluesAction {nullptr}
private

Definition at line 69 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_computeEigenvectorsAction

QAction* CantorWorksheetView::m_computeEigenvectorsAction {nullptr}
private

Definition at line 67 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_createMatrixAction

QAction* CantorWorksheetView::m_createMatrixAction {nullptr}
private

Definition at line 68 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_differentiationAction

QAction* CantorWorksheetView::m_differentiationAction {nullptr}
private

Definition at line 71 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_evaluateEntryAction

QAction* CantorWorksheetView::m_evaluateEntryAction {nullptr}
private

Definition at line 60 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_evaluateWorsheetAction

QAction* CantorWorksheetView::m_evaluateWorsheetAction {nullptr}
private

Definition at line 75 of file CantorWorksheetView.h.

Referenced by fillToolBar(), initActions(), initMenus(), and statusChanged().

◆ m_find

QAction* CantorWorksheetView::m_find {nullptr}
private

Definition at line 78 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initActions().

◆ m_insertCommandEntryAction

QAction* CantorWorksheetView::m_insertCommandEntryAction {nullptr}
private

Definition at line 61 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_insertLatexEntryAction

QAction* CantorWorksheetView::m_insertLatexEntryAction {nullptr}
private

Definition at line 64 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_insertMarkdownEntryAction

QAction* CantorWorksheetView::m_insertMarkdownEntryAction {nullptr}
private

Definition at line 63 of file CantorWorksheetView.h.

Referenced by initMenus().

◆ m_insertPageBreakAction

QAction* CantorWorksheetView::m_insertPageBreakAction {nullptr}
private

Definition at line 65 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_insertTextEntryAction

QAction* CantorWorksheetView::m_insertTextEntryAction {nullptr}
private

Definition at line 62 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_integrationAction

QAction* CantorWorksheetView::m_integrationAction {nullptr}
private

Definition at line 72 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_invertMatrixAction

QAction* CantorWorksheetView::m_invertMatrixAction {nullptr}
private

Definition at line 70 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_latexTypesetting

QAction* CantorWorksheetView::m_latexTypesetting {nullptr}
private

Definition at line 83 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_linearAlgebraMenu

QMenu* CantorWorksheetView::m_linearAlgebraMenu {nullptr}
private

Definition at line 87 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initMenus().

◆ m_lineNumbers

QAction* CantorWorksheetView::m_lineNumbers {nullptr}
private

Definition at line 81 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_part

KParts::ReadWritePart* CantorWorksheetView::m_part {nullptr}
private

◆ m_removeCurrentEntryAction

QAction* CantorWorksheetView::m_removeCurrentEntryAction {nullptr}
private

Definition at line 66 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_replace

QAction* CantorWorksheetView::m_replace {nullptr}
private

Definition at line 79 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initActions().

◆ m_restartBackendAction

QAction* CantorWorksheetView::m_restartBackendAction {nullptr}
private

Definition at line 74 of file CantorWorksheetView.h.

Referenced by createContextMenu(), fillToolBar(), and initActions().

◆ m_settingsMenu

QMenu* CantorWorksheetView::m_settingsMenu {nullptr}
private

Definition at line 89 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initMenus().

◆ m_showCompletion

QAction* CantorWorksheetView::m_showCompletion {nullptr}
private

Definition at line 84 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_solveEquationsAction

QAction* CantorWorksheetView::m_solveEquationsAction {nullptr}
private

Definition at line 73 of file CantorWorksheetView.h.

Referenced by initActions(), and initMenus().

◆ m_syntaxHighlighting

QAction* CantorWorksheetView::m_syntaxHighlighting {nullptr}
private

Definition at line 80 of file CantorWorksheetView.h.

◆ m_worksheet

CantorWorksheet* CantorWorksheetView::m_worksheet
private

Definition at line 57 of file CantorWorksheetView.h.

Referenced by CantorWorksheetView(), and statusChanged().

◆ m_worksheetMenu

QMenu* CantorWorksheetView::m_worksheetMenu {nullptr}
private

Definition at line 86 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initMenus().

◆ m_zoomIn

QAction* CantorWorksheetView::m_zoomIn {nullptr}
private

Definition at line 76 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initActions().

◆ m_zoomOut

QAction* CantorWorksheetView::m_zoomOut {nullptr}
private

Definition at line 77 of file CantorWorksheetView.h.

Referenced by createContextMenu(), and initActions().


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