QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
FreeTerminalEditor Class Reference

#include <freeterminaleditor.h>

Inherits QWidget.

Collaboration diagram for FreeTerminalEditor:
Collaboration graph

Public Member Functions

 FreeTerminalEditor (QETProject *project, QWidget *parent=nullptr)
 FreeTerminalEditor::FreeTerminalEditor.
 ~FreeTerminalEditor ()
 FreeTerminalEditor::~FreeTerminalEditor.
void reload ()
 FreeTerminalEditor::reload Reload the editor to be up to date with the current state of the project. Every not applied change will be lost.
void apply ()
 FreeTerminalEditor::apply Applu current edited values.
void setProject (QETProject *project)
 FreeTerminalEditor::setProject Set @project as project handled by this editor. If a previous project was setted, everything is clear. This function track the destruction of the project, that mean if the project pointer is deleted no need to call this function with a nullptr, everything is made inside this class.

Private Slots

void on_m_type_cb_activated (int index)
void on_m_function_cb_activated (int index)
void on_m_led_cb_activated (int index)
void on_m_move_pb_clicked ()

Private Member Functions

void selectionChanged ()
void setDisabledMove (bool b=true)

Private Attributes

Ui::FreeTerminalEditor * ui
QPointer< QETProjectm_project
FreeTerminalModelm_model {nullptr}

Constructor & Destructor Documentation

◆ FreeTerminalEditor()

FreeTerminalEditor::FreeTerminalEditor ( QETProject * project,
QWidget * parent = nullptr )
explicit

FreeTerminalEditor::FreeTerminalEditor.

Parameters
project
parent
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~FreeTerminalEditor()

FreeTerminalEditor::~FreeTerminalEditor ( )

Member Function Documentation

◆ apply()

void FreeTerminalEditor::apply ( )

FreeTerminalEditor::apply Applu current edited values.

Here is the call graph for this function:

◆ on_m_function_cb_activated

void FreeTerminalEditor::on_m_function_cb_activated ( int index)
privateslot

◆ on_m_led_cb_activated

void FreeTerminalEditor::on_m_led_cb_activated ( int index)
privateslot

◆ on_m_move_pb_clicked

void FreeTerminalEditor::on_m_move_pb_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_m_type_cb_activated

void FreeTerminalEditor::on_m_type_cb_activated ( int index)
privateslot

◆ reload()

void FreeTerminalEditor::reload ( )

FreeTerminalEditor::reload Reload the editor to be up to date with the current state of the project. Every not applied change will be lost.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectionChanged()

void FreeTerminalEditor::selectionChanged ( )
private

◆ setDisabledMove()

void FreeTerminalEditor::setDisabledMove ( bool b = true)
private
Here is the caller graph for this function:

◆ setProject()

void FreeTerminalEditor::setProject ( QETProject * project)

FreeTerminalEditor::setProject Set @project as project handled by this editor. If a previous project was setted, everything is clear. This function track the destruction of the project, that mean if the project pointer is deleted no need to call this function with a nullptr, everything is made inside this class.

Parameters
project
Here is the call graph for this function:

Member Data Documentation

◆ m_model

FreeTerminalModel* FreeTerminalEditor::m_model {nullptr}
private

◆ m_project

QPointer<QETProject> FreeTerminalEditor::m_project
private

◆ ui

Ui::FreeTerminalEditor* FreeTerminalEditor::ui
private

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