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

The TerminalStripLayoutEditor class Widget used to edit the layout of a terminal strip item. More...

#include <terminalstriplayouteditor.h>

Inherits QWidget.

Collaboration diagram for TerminalStripLayoutEditor:
Collaboration graph

Public Member Functions

 TerminalStripLayoutEditor (QSharedPointer< TerminalStripLayoutPattern > layout, QWidget *parent=nullptr)
 ~TerminalStripLayoutEditor ()

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
void showEvent (QShowEvent *event) override

Private Slots

void valueEdited ()
void on_m_display_preview_help_clicked (bool checked)

Private Member Functions

void updateUi ()
void updatePreview ()

Private Attributes

Ui::TerminalStripLayoutEditor * ui
QSharedPointer< TerminalStripLayoutPatternm_layout
bool m_ui_updating { false }
PreviewStripItem m_preview_strip_item {m_layout}

Detailed Description

The TerminalStripLayoutEditor class Widget used to edit the layout of a terminal strip item.

Constructor & Destructor Documentation

◆ TerminalStripLayoutEditor()

TerminalStripLayoutEditor::TerminalStripLayoutEditor ( QSharedPointer< TerminalStripLayoutPattern > layout,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~TerminalStripLayoutEditor()

TerminalStripLayoutEditor::~TerminalStripLayoutEditor ( )

Member Function Documentation

◆ on_m_display_preview_help_clicked

void TerminalStripLayoutEditor::on_m_display_preview_help_clicked ( bool checked)
privateslot

◆ resizeEvent()

void TerminalStripLayoutEditor::resizeEvent ( QResizeEvent * event)
overrideprotected
Here is the call graph for this function:

◆ showEvent()

void TerminalStripLayoutEditor::showEvent ( QShowEvent * event)
overrideprotected
Here is the call graph for this function:

◆ updatePreview()

void TerminalStripLayoutEditor::updatePreview ( )
private
Here is the caller graph for this function:

◆ updateUi()

void TerminalStripLayoutEditor::updateUi ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueEdited

void TerminalStripLayoutEditor::valueEdited ( )
privateslot
Here is the call graph for this function:

Member Data Documentation

◆ m_layout

QSharedPointer<TerminalStripLayoutPattern> TerminalStripLayoutEditor::m_layout
private

◆ m_preview_strip_item

PreviewStripItem TerminalStripLayoutEditor::m_preview_strip_item {m_layout}
private

◆ m_ui_updating

bool TerminalStripLayoutEditor::m_ui_updating { false }
private

◆ ui

Ui::TerminalStripLayoutEditor* TerminalStripLayoutEditor::ui
private

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