QElectroTech  0.70
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ProjectView Class Reference

#include <projectview.h>

Public Slots

void addNewDiagram ()
 ProjectView::addNewDiagram Add new diagram to project view. More...
 
void addNewDiagramFolioList ()
 ProjectView::addNewDiagramFolioList Add new diagram folio list to project. More...
 
void addDiagram (DiagramView *)
 ProjectView::addDiagram Add diagram view to this project view. More...
 
void removeDiagram (DiagramView *)
 ProjectView::removeDiagram Remove a diagram (folio) of the project. More...
 
void removeDiagram (Diagram *)
 
void showDiagram (DiagramView *)
 
void showDiagram (Diagram *)
 
void editProjectProperties ()
 
void editCurrentDiagramProperties ()
 
void editDiagramProperties (DiagramView *)
 
void editDiagramProperties (Diagram *)
 
void moveDiagramUp (DiagramView *)
 
void moveDiagramUp (Diagram *)
 
void moveDiagramDown (DiagramView *)
 
void moveDiagramDown (Diagram *)
 
void moveDiagramUpTop (DiagramView *)
 
void moveDiagramUpTop (Diagram *)
 
void moveDiagramUpx10 (DiagramView *)
 
void moveDiagramUpx10 (Diagram *)
 
void moveDiagramDownx10 (DiagramView *)
 
void moveDiagramDownx10 (Diagram *)
 
void printProject ()
 
void exportProject ()
 
QETResult save ()
 
QETResult saveAs ()
 
QETResult doSave ()
 
int cleanProject ()
 
void updateWindowTitle ()
 ProjectView::updateWindowTitle Update the project view title. More...
 
void updateTabTitle (DiagramView *)
 ProjectView::updateTabTitle Update the title of the tab which display the diagram view . More...
 
void updateAllTabsTitle ()
 ProjectView::updateAllTabsTitle Update all tabs title. More...
 
void tabMoved (int, int)
 

Signals

void diagramAdded (DiagramView *)
 
void diagramRemoved (DiagramView *)
 
void diagramActivated (DiagramView *)
 
void projectClosed (ProjectView *)
 
void errorEncountered (const QString &)
 
void findElementRequired (const ElementsLocation &)
 
void editElementRequired (const ElementsLocation &)
 

Public Member Functions

 ProjectView (QETProject *, QWidget *=nullptr)
 
 ~ProjectView () override
 
QETProjectproject ()
 
void setProject (QETProject *)
 
QList< DiagramView * > diagram_views () const
 
DiagramViewcurrentDiagram () const
 ProjectView::currentDiagram. More...
 
void closeEvent (QCloseEvent *) override
 
void changeTabUp ()
 change current diagramview to previous tab More...
 
void changeTabDown ()
 change current diagramview to next folio More...
 
void changeFirstTab ()
 change current diagramview to first tab More...
 
void changeLastTab ()
 change current diagramview to last tab More...
 

Private Slots

void tabChanged (int)
 ProjectView::tabChanged Manage the tab change. If tab_id == -1 (there is no diagram opened), we display the fallback widget. More...
 
void tabDoubleClicked (int)
 
void setDisplayFallbackWidget (bool)
 
void adjustReadOnlyState ()
 

Private Member Functions

 ProjectView (const ProjectView &)
 
void initActions ()
 
void initWidgets ()
 
void initLayout ()
 
void loadDiagrams ()
 ProjectView::loadDiagrams Load diagrams of project. We create a diagram view for each diagram, and add it to the project view. More...
 
DiagramViewfindDiagram (Diagram *)
 
DiagramViewnextDiagram ()
 
DiagramViewpreviousDiagram ()
 
DiagramViewfirstDiagram ()
 
DiagramViewlastDiagram ()
 
void rebuildDiagramsMap ()
 
bool tryClosing ()
 
bool tryClosingElementEditors ()
 
int tryClosingDiagrams ()
 ProjectView::tryClosingDiagrams try to close this project, if diagram or project option are changed a dialog ask if user want to save the modification. More...
 
QString askUserForFilePath (bool=true)
 
QETResult noProjectResult () const
 

Private Attributes

QAction * add_new_diagram_
 
QETProjectm_project
 
QVBoxLayout * layout_
 
QWidget * fallback_widget_
 
QLabel * fallback_label_
 
QTabWidget * m_tab
 
QMap< int, DiagramView * > m_diagram_ids
 
int m_previous_tab_index = -1
 
QList< DiagramView * > m_diagram_view_list
 

Detailed Description

This class provides a widget displaying the diagrams of a particular project using tabs.

Definition at line 38 of file projectview.h.

Constructor & Destructor Documentation

◆ ProjectView() [1/2]

ProjectView::ProjectView ( QETProject project,
QWidget *  parent = nullptr 
)

Constructeur

Parameters
projectprojet a visualiser
parentWidget parent

Definition at line 43 of file projectview.cpp.

References initActions(), initLayout(), initWidgets(), project(), and setProject().

◆ ~ProjectView()

ProjectView::~ProjectView ( )
override

Destructeur Supprime les DiagramView embarquees

Definition at line 58 of file projectview.cpp.

References m_diagram_ids.

◆ ProjectView() [2/2]

ProjectView::ProjectView ( const ProjectView )
private

Member Function Documentation

◆ addDiagram

void ProjectView::addDiagram ( DiagramView diagram_view)
slot

◆ addNewDiagram

void ProjectView::addNewDiagram ( )
slot

ProjectView::addNewDiagram Add new diagram to project view.

Definition at line 347 of file projectview.cpp.

References addDiagram(), addNewDiagramFolioList(), m_project, and showDiagram().

Referenced by initActions(), and setProject().

◆ addNewDiagramFolioList

void ProjectView::addNewDiagramFolioList ( )
slot

ProjectView::addNewDiagramFolioList Add new diagram folio list to project.

Definition at line 363 of file projectview.cpp.

References addDiagram(), diagram_views(), m_project, m_tab, and showDiagram().

Referenced by addNewDiagram().

◆ adjustReadOnlyState

void ProjectView::adjustReadOnlyState ( )
privateslot

Effectue les actions necessaires lorsque le projet visualise entre ou sort du mode lecture seule.

Definition at line 908 of file projectview.cpp.

References add_new_diagram_, m_project, m_tab, and updateWindowTitle().

Referenced by setProject().

◆ askUserForFilePath()

QString ProjectView::askUserForFilePath ( bool  assign = true)
private

Ask the user to provide a file path in which the currently edited project will be saved.

Parameters
assignWhen true, assign the provided filepath to the project through setFilePath(). Defaults to true.
Returns
the file path, or an empty string if none were provided

Definition at line 311 of file projectview.cpp.

References m_project, and QET::Icons::tr.

Referenced by saveAs(), and tryClosing().

◆ changeFirstTab()

void ProjectView::changeFirstTab ( )

change current diagramview to first tab

Definition at line 186 of file projectview.cpp.

References firstDiagram(), and m_tab.

Referenced by DiagramView::keyPressEvent().

◆ changeLastTab()

void ProjectView::changeLastTab ( )

change current diagramview to last tab

Definition at line 171 of file projectview.cpp.

References lastDiagram(), and m_tab.

Referenced by DiagramView::keyPressEvent().

◆ changeTabDown()

void ProjectView::changeTabDown ( )

change current diagramview to next folio

Definition at line 125 of file projectview.cpp.

References m_tab, nextDiagram(), and rebuildDiagramsMap().

Referenced by DiagramView::keyPressEvent().

◆ changeTabUp()

void ProjectView::changeTabUp ( )

change current diagramview to previous tab

Definition at line 148 of file projectview.cpp.

References m_tab, previousDiagram(), and rebuildDiagramsMap().

Referenced by DiagramView::keyPressEvent().

◆ cleanProject

int ProjectView::cleanProject ( )
slot

Allow the user to clean the project, which includes: deleting unused title block templates deleting unused elements deleting empty categories

Returns
an integer value above zero if elements and/or categories were cleaned.

Definition at line 728 of file projectview.cpp.

References QET::Icons::Cancel, XmlElementCollection::cleanUnusedDirectory(), XmlElementCollection::cleanUnusedElement(), QET::QetMessageBox::critical(), TitleBlockTemplatesProjectCollection::deleteUnusedTitleBlocKTemplates(), QETProject::embeddedElementCollection(), QETProject::embeddedTitleBlockTemplatesCollection(), m_project, and QET::Icons::tr.

◆ closeEvent()

void ProjectView::closeEvent ( QCloseEvent *  qce)
override

Gere la fermeture du schema.

Parameters
qceLe QCloseEvent decrivant l'evenement

Definition at line 112 of file projectview.cpp.

References projectClosed(), and tryClosing().

◆ currentDiagram()

DiagramView * ProjectView::currentDiagram ( ) const

◆ diagram_views()

QList< DiagramView * > ProjectView::diagram_views ( ) const
Returns
la liste des schemas ouverts dans le projet

Definition at line 93 of file projectview.cpp.

References m_diagram_view_list.

Referenced by addNewDiagramFolioList(), findDiagram(), loadDiagrams(), and moveDiagramUpTop().

◆ diagramActivated

void ProjectView::diagramActivated ( DiagramView )
signal

Referenced by tabChanged().

◆ diagramAdded

void ProjectView::diagramAdded ( DiagramView )
signal

Referenced by addDiagram().

◆ diagramRemoved

void ProjectView::diagramRemoved ( DiagramView )
signal

Referenced by removeDiagram().

◆ doSave

QETResult ProjectView::doSave ( )
slot

Save project content, then write the project file. May call saveAs if no filepath was provided before.

Returns
a QETResult object reflecting the situation; note that a valid QETResult object is returned if the operation was cancelled.

Definition at line 703 of file projectview.cpp.

References m_project, noProjectResult(), project(), saveAs(), QETProject::undoStack(), and updateWindowTitle().

Referenced by save(), and saveAs().

◆ editCurrentDiagramProperties

void ProjectView::editCurrentDiagramProperties ( )
slot

Edite les proprietes du schema courant

Definition at line 500 of file projectview.cpp.

References currentDiagram(), and editDiagramProperties().

◆ editDiagramProperties [1/2]

void ProjectView::editDiagramProperties ( DiagramView diagram_view)
slot

Edite les proprietes du schema diagram_view

Definition at line 507 of file projectview.cpp.

References showDiagram().

Referenced by editCurrentDiagramProperties(), editDiagramProperties(), and tabDoubleClicked().

◆ editDiagramProperties [2/2]

void ProjectView::editDiagramProperties ( Diagram diagram)
slot

Edite les proprietes du schema diagram

Definition at line 516 of file projectview.cpp.

References editDiagramProperties(), and findDiagram().

◆ editElementRequired

void ProjectView::editElementRequired ( const ElementsLocation )
signal

◆ editProjectProperties

void ProjectView::editProjectProperties ( )
slot

Enable the user to edit properties of the current project through a configuration dialog.

Definition at line 491 of file projectview.cpp.

References ProjectPropertiesDialog::exec(), and m_project.

◆ errorEncountered

void ProjectView::errorEncountered ( const QString &  )
signal

Referenced by tryClosing().

◆ exportProject

void ProjectView::exportProject ( )
slot

Exporte le schema.

Definition at line 661 of file projectview.cpp.

References m_project.

◆ findDiagram()

DiagramView * ProjectView::findDiagram ( Diagram diagram)
private
Parameters
diagramSchema a trouver
Returns
le DiagramView correspondant au schema passe en parametre, ou 0 si le schema n'est pas trouve

Definition at line 985 of file projectview.cpp.

References diagram_views().

Referenced by editDiagramProperties(), moveDiagramDown(), moveDiagramDownx10(), moveDiagramUp(), moveDiagramUpTop(), moveDiagramUpx10(), removeDiagram(), and showDiagram().

◆ findElementRequired

void ProjectView::findElementRequired ( const ElementsLocation )
signal

◆ firstDiagram()

DiagramView * ProjectView::firstDiagram ( )
private
Returns
first folio of current project

Definition at line 194 of file projectview.cpp.

References m_diagram_ids.

Referenced by changeFirstTab().

◆ initActions()

void ProjectView::initActions ( )
private

Initialize actions for this widget.

Definition at line 788 of file projectview.cpp.

References add_new_diagram_, QET::Icons::AddFolio, addNewDiagram(), and QET::Icons::tr.

Referenced by ProjectView().

◆ initLayout()

void ProjectView::initLayout ( )
private

Initialize layout for this widget.

Definition at line 830 of file projectview.cpp.

References fallback_label_, fallback_widget_, layout_, and m_tab.

Referenced by ProjectView().

◆ initWidgets()

void ProjectView::initWidgets ( )
private

Initialize child widgets for this widget.

Definition at line 796 of file projectview.cpp.

References add_new_diagram_, fallback_label_, fallback_widget_, m_tab, QET::Icons::ProjectFileGP, tabChanged(), tabDoubleClicked(), tabMoved(), and QET::Icons::tr.

Referenced by ProjectView().

◆ lastDiagram()

DiagramView * ProjectView::lastDiagram ( )
private
Returns
last folio of current project

Definition at line 179 of file projectview.cpp.

References m_diagram_ids.

Referenced by changeLastTab().

◆ loadDiagrams()

void ProjectView::loadDiagrams ( )
private

◆ moveDiagramDown [1/2]

void ProjectView::moveDiagramDown ( DiagramView diagram_view)
slot

Deplace le schema diagram_view vers le bas / la droite

Definition at line 544 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by moveDiagramDown().

◆ moveDiagramDown [2/2]

void ProjectView::moveDiagramDown ( Diagram diagram)
slot

Deplace le schema diagram vers le bas / la droite

Definition at line 558 of file projectview.cpp.

References findDiagram(), and moveDiagramDown().

◆ moveDiagramDownx10 [1/2]

void ProjectView::moveDiagramDownx10 ( DiagramView diagram_view)
slot

Deplace le schema diagram_view vers le bas / la droite x10

Definition at line 609 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by moveDiagramDownx10().

◆ moveDiagramDownx10 [2/2]

void ProjectView::moveDiagramDownx10 ( Diagram diagram)
slot

Deplace le schema diagram vers le bas / la droite x10

Definition at line 623 of file projectview.cpp.

References findDiagram(), and moveDiagramDownx10().

◆ moveDiagramUp [1/2]

void ProjectView::moveDiagramUp ( DiagramView diagram_view)
slot

Deplace le schema diagram_view vers le haut / la gauche

Definition at line 523 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by moveDiagramUp().

◆ moveDiagramUp [2/2]

void ProjectView::moveDiagramUp ( Diagram diagram)
slot

Deplace le schema diagram vers le haut / la gauche

Definition at line 537 of file projectview.cpp.

References findDiagram(), and moveDiagramUp().

◆ moveDiagramUpTop [1/2]

void ProjectView::moveDiagramUpTop ( DiagramView diagram_view)
slot

Definition at line 565 of file projectview.cpp.

References diagram_views(), m_diagram_ids, and m_tab.

Referenced by moveDiagramUpTop().

◆ moveDiagramUpTop [2/2]

void ProjectView::moveDiagramUpTop ( Diagram diagram)
slot

Definition at line 580 of file projectview.cpp.

References findDiagram(), and moveDiagramUpTop().

◆ moveDiagramUpx10 [1/2]

void ProjectView::moveDiagramUpx10 ( DiagramView diagram_view)
slot

Deplace le schema diagram_view vers le haut / la gauche x10

Definition at line 588 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by moveDiagramUpx10().

◆ moveDiagramUpx10 [2/2]

void ProjectView::moveDiagramUpx10 ( Diagram diagram)
slot

Deplace le schema diagram vers le haut / la gauche x10

Definition at line 602 of file projectview.cpp.

References findDiagram(), and moveDiagramUpx10().

◆ nextDiagram()

DiagramView * ProjectView::nextDiagram ( )
private
Returns
next folio of current diagramview

Definition at line 136 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by changeTabDown().

◆ noProjectResult()

QETResult ProjectView::noProjectResult ( ) const
private
Returns
the QETResult object to be returned when it appears this project view is not associated to any project.

Definition at line 338 of file projectview.cpp.

References QET::Icons::tr.

Referenced by doSave(), and saveAs().

◆ previousDiagram()

DiagramView * ProjectView::previousDiagram ( )
private
Returns
previous folio of current diagramview

Definition at line 159 of file projectview.cpp.

References m_diagram_ids, and m_tab.

Referenced by changeTabUp().

◆ printProject

void ProjectView::printProject ( )
slot

Ce slot demarre un dialogue permettant a l'utilisateur de parametrer et de lancer l'impression de toute ou partie du projet.

Definition at line 631 of file projectview.cpp.

References DiagramPrintDialog::exec(), m_project, DiagramPrintDialog::setDocName(), DiagramPrintDialog::setFileName(), QET::stringToFileName(), and QET::Icons::tr.

◆ project()

QETProject * ProjectView::project ( )

◆ projectClosed

void ProjectView::projectClosed ( ProjectView )
signal

Referenced by closeEvent().

◆ rebuildDiagramsMap()

void ProjectView::rebuildDiagramsMap ( )
private

Reconstruit la map associant les index des onglets avec les DiagramView

Definition at line 997 of file projectview.cpp.

References m_diagram_ids, m_diagram_view_list, and m_tab.

Referenced by addDiagram(), changeTabDown(), changeTabUp(), removeDiagram(), and tabMoved().

◆ removeDiagram [1/2]

void ProjectView::removeDiagram ( DiagramView diagram_view)
slot

ProjectView::removeDiagram Remove a diagram (folio) of the project.

Parameters
diagram_view: diagram view to remove

Definition at line 415 of file projectview.cpp.

References QET::Icons::Cancel, diagramRemoved(), m_diagram_ids, m_diagram_view_list, m_project, m_tab, QET::QetMessageBox::question(), rebuildDiagramsMap(), QET::Icons::tr, and updateAllTabsTitle().

Referenced by removeDiagram().

◆ removeDiagram [2/2]

void ProjectView::removeDiagram ( Diagram diagram)
slot

Enleve un schema du ProjectView

Parameters
diagramSchema a enlever

Definition at line 459 of file projectview.cpp.

References findDiagram(), and removeDiagram().

◆ save

QETResult ProjectView::save ( )
slot

Save project properties along with all modified diagrams.

See also
filePath()
setFilePath()
Returns
a QETResult object reflecting the situation

Definition at line 677 of file projectview.cpp.

References doSave().

◆ saveAs

QETResult ProjectView::saveAs ( )
slot

Ask users for a filepath in order to save the project.

Parameters
optionsMay be used to specify what should be saved; defaults to all modified diagrams.
Returns
a QETResult object reflecting the situation; note that a valid QETResult object is returned if the operation was cancelled.

Definition at line 688 of file projectview.cpp.

References askUserForFilePath(), doSave(), m_project, and noProjectResult().

Referenced by doSave().

◆ setDisplayFallbackWidget

void ProjectView::setDisplayFallbackWidget ( bool  fallback)
privateslot
Parameters
fallbacktrue pour afficher le widget de fallback, false pour afficher les onglets. Le widget de Fallback est le widget affiche lorsque le projet ne comporte aucun schema.

Definition at line 1051 of file projectview.cpp.

References fallback_widget_, and m_tab.

Referenced by loadDiagrams(), and tabChanged().

◆ setProject()

void ProjectView::setProject ( QETProject project)

Definit le projet visualise par le ProjectView. Ne fait rien si le projet a deja ete defini.

Parameters
projectprojet a visualiser

Definition at line 78 of file projectview.cpp.

References addNewDiagram(), adjustReadOnlyState(), loadDiagrams(), m_project, project(), and updateWindowTitle().

Referenced by ProjectView().

◆ showDiagram [1/2]

void ProjectView::showDiagram ( DiagramView diagram)
slot

Active l'onglet adequat pour afficher le schema passe en parametre

Parameters
diagramSchema a afficher

Definition at line 471 of file projectview.cpp.

References m_tab.

Referenced by addDiagram(), addNewDiagram(), addNewDiagramFolioList(), and editDiagramProperties().

◆ showDiagram [2/2]

void ProjectView::showDiagram ( Diagram diagram)
slot

Active l'onglet adequat pour afficher le schema passe en parametre

Parameters
diagramSchema a afficher

Definition at line 480 of file projectview.cpp.

References findDiagram(), and m_tab.

◆ tabChanged

void ProjectView::tabChanged ( int  tab_id)
privateslot

ProjectView::tabChanged Manage the tab change. If tab_id == -1 (there is no diagram opened), we display the fallback widget.

Parameters
tab_id

Definition at line 1015 of file projectview.cpp.

References diagramActivated(), m_diagram_ids, m_previous_tab_index, m_tab, and setDisplayFallbackWidget().

Referenced by initWidgets().

◆ tabDoubleClicked

void ProjectView::tabDoubleClicked ( int  tab_id)
privateslot

Gere le double-clic sur un onglet : edite les proprietes du schema

Parameters
tab_idIndex de l'onglet concerne

Definition at line 1037 of file projectview.cpp.

References editDiagramProperties(), and m_diagram_ids.

Referenced by initWidgets().

◆ tabMoved

void ProjectView::tabMoved ( int  from,
int  to 
)
slot
Parameters
fromIndex de l'onglet avant le deplacement
toIndex de l'onglet apres le deplacement

Definition at line 964 of file projectview.cpp.

References QETProject::diagramOrderChanged(), m_diagram_ids, m_project, rebuildDiagramsMap(), and updateTabTitle().

Referenced by initWidgets().

◆ tryClosing()

bool ProjectView::tryClosing ( )
private

Cette methode essaye de fermer successivement les editeurs d'element puis les schemas du projet. L'utilisateur peut refuser de fermer un schema ou un editeur.

Returns
true si tout a pu etre ferme, false sinon
See also
tryClosingElementEditors()
tryClosingDiagrams()

Definition at line 207 of file projectview.cpp.

References askUserForFilePath(), QET::Icons::Cancel, errorEncountered(), QETResult::errorMessage(), QETResult::isOk(), m_project, tryClosingDiagrams(), tryClosingElementEditors(), and updateWindowTitle().

Referenced by closeEvent().

◆ tryClosingDiagrams()

int ProjectView::tryClosingDiagrams ( )
private

ProjectView::tryClosingDiagrams try to close this project, if diagram or project option are changed a dialog ask if user want to save the modification.

Returns
the answer of dialog or discard if no change.

Definition at line 280 of file projectview.cpp.

References QET::Icons::Cancel, m_project, project(), QET::QetMessageBox::question(), QETProject::title(), and QET::Icons::tr.

Referenced by tryClosing().

◆ tryClosingElementEditors()

bool ProjectView::tryClosingElementEditors ( )
private

Un projet comporte des elements integres. Cette methode ferme les editeurs d'elements associes a ce projet. L'utilisateur peut refuser la fermeture d'un editeur d'element.

Returns
true si tous les editeurs d'element ont pu etre fermes, false sinon

Definition at line 256 of file projectview.cpp.

References QETApp::elementEditors(), m_project, and QETApp::titleBlockTemplateEditors().

Referenced by tryClosing().

◆ updateAllTabsTitle

void ProjectView::updateAllTabsTitle ( )
slot

ProjectView::updateAllTabsTitle Update all tabs title.

Definition at line 954 of file projectview.cpp.

References m_diagram_ids, and updateTabTitle().

Referenced by addDiagram(), and removeDiagram().

◆ updateTabTitle

void ProjectView::updateTabTitle ( DiagramView diagram_view)
slot

ProjectView::updateTabTitle Update the title of the tab which display the diagram view .

Parameters
diagram: The diagram view.

Definition at line 925 of file projectview.cpp.

References Diagram::border_and_titleblock, DiagramView::diagram(), BorderTitleBlock::folio(), Diagram::folioIndex(), autonum::AssignVariables::formulaToLabel(), m_diagram_ids, m_tab, and Diagram::title().

Referenced by addDiagram(), tabMoved(), and updateAllTabsTitle().

◆ updateWindowTitle

void ProjectView::updateWindowTitle ( )
slot

ProjectView::updateWindowTitle Update the project view title.

Definition at line 894 of file projectview.cpp.

References m_project, and QET::Icons::tr.

Referenced by adjustReadOnlyState(), doSave(), setProject(), and tryClosing().

Member Data Documentation

◆ add_new_diagram_

QAction* ProjectView::add_new_diagram_
private

Definition at line 129 of file projectview.h.

Referenced by adjustReadOnlyState(), initActions(), and initWidgets().

◆ fallback_label_

QLabel* ProjectView::fallback_label_
private

Definition at line 133 of file projectview.h.

Referenced by initLayout(), and initWidgets().

◆ fallback_widget_

QWidget* ProjectView::fallback_widget_
private

Definition at line 132 of file projectview.h.

Referenced by initLayout(), initWidgets(), and setDisplayFallbackWidget().

◆ layout_

QVBoxLayout* ProjectView::layout_
private

Definition at line 131 of file projectview.h.

Referenced by initLayout().

◆ m_diagram_ids

QMap<int, DiagramView *> ProjectView::m_diagram_ids
private

◆ m_diagram_view_list

QList<DiagramView *> ProjectView::m_diagram_view_list
private

Definition at line 137 of file projectview.h.

Referenced by addDiagram(), diagram_views(), rebuildDiagramsMap(), and removeDiagram().

◆ m_previous_tab_index

int ProjectView::m_previous_tab_index = -1
private

Definition at line 136 of file projectview.h.

Referenced by tabChanged().

◆ m_project

QETProject* ProjectView::m_project
private

◆ m_tab

QTabWidget* ProjectView::m_tab
private

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