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

#include <diagramselection.h>

Public Member Functions

 diagramselection (QETProject *prj, QWidget *parent=nullptr)
 
 ~diagramselection () override
 
QList< Diagram * > list_of_DiagramSelected ()
 get list of Diagrams is selected More...
 

Private Slots

void on_tableDiagram_customContextMenuRequested (const QPoint &pos)
 contextMenuRequested More...
 

Private Member Functions

void load_TableDiagram ()
 load all Diagrams of project in table More...
 

Private Attributes

Ui::diagramselection * ui
 
QETProjectprj_
 
QList< Diagram * > list_diagram_
 

Detailed Description

Definition at line 30 of file diagramselection.h.

Constructor & Destructor Documentation

◆ diagramselection()

diagramselection::diagramselection ( QETProject prj,
QWidget *  parent = nullptr 
)
explicit

Definition at line 21 of file diagramselection.cpp.

References load_TableDiagram(), prj_, QET::Icons::tr, and ui.

◆ ~diagramselection()

diagramselection::~diagramselection ( )
override

Definition at line 36 of file diagramselection.cpp.

References ui.

Member Function Documentation

◆ list_of_DiagramSelected()

QList< Diagram * > diagramselection::list_of_DiagramSelected ( )

get list of Diagrams is selected

Returns
this list of Diagrams

Definition at line 86 of file diagramselection.cpp.

References list_diagram_, and ui.

◆ load_TableDiagram()

void diagramselection::load_TableDiagram ( )
private

load all Diagrams of project in table

Definition at line 43 of file diagramselection.cpp.

References list_diagram_, QET::Icons::tr, and ui.

Referenced by diagramselection().

◆ on_tableDiagram_customContextMenuRequested

void diagramselection::on_tableDiagram_customContextMenuRequested ( const QPoint &  pos)
privateslot

contextMenuRequested

Parameters
pos

Definition at line 100 of file diagramselection.cpp.

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

Member Data Documentation

◆ list_diagram_

QList<Diagram *> diagramselection::list_diagram_
private

Definition at line 46 of file diagramselection.h.

Referenced by list_of_DiagramSelected(), and load_TableDiagram().

◆ prj_

QETProject* diagramselection::prj_
private

Definition at line 45 of file diagramselection.h.

Referenced by diagramselection().

◆ ui

Ui::diagramselection* diagramselection::ui
private

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