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

The TerminalStripCreatorDialog class A simple dialog for create a new terminal strip. More...

#include <terminalstripcreatordialog.h>

Inherits QDialog.

Collaboration diagram for TerminalStripCreatorDialog:
Collaboration graph

Public Member Functions

 TerminalStripCreatorDialog (QETProject *project, QWidget *parent=nullptr)
 TerminalStripCreatorDialog::TerminalStripCreatorDialog.
 ~TerminalStripCreatorDialog () override
 TerminalStripCreatorDialog::~TerminalStripCreatorDialog.
void setInstallation (const QString &installation)
 TerminalStripCreatorDialog::setInstallation Set the installation field string.
void setLocation (const QString &location)
 TerminalStripCreatorDialog::setLocation Set the location field string.
TerminalStripgeneratedTerminalStrip () const
 TerminalStripCreatorDialog::generatedTerminalStrip.

Private Member Functions

void setCursorToEmptyLine ()
 TerminalStripCreatorDialog::setCursorToEmptyLine Set the cursor to the first empty field. It's useful when user creates a new terminal strip with some value prefilled, to increase productivity.

Private Attributes

Ui::TerminalStripCreatorDialog * ui
QETProjectm_project = nullptr

Detailed Description

The TerminalStripCreatorDialog class A simple dialog for create a new terminal strip.

Constructor & Destructor Documentation

◆ TerminalStripCreatorDialog()

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

TerminalStripCreatorDialog::TerminalStripCreatorDialog.

Parameters
project: Project to add a new terminal strip
parent: parent widget
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~TerminalStripCreatorDialog()

TerminalStripCreatorDialog::~TerminalStripCreatorDialog ( )
override

Member Function Documentation

◆ generatedTerminalStrip()

TerminalStrip * TerminalStripCreatorDialog::generatedTerminalStrip ( ) const

TerminalStripCreatorDialog::generatedTerminalStrip.

Returns
A new terminal Strip according to the value set by user. The terminal strip is already added to the terminalStrip list of the project so it's ready to use.

◆ setCursorToEmptyLine()

void TerminalStripCreatorDialog::setCursorToEmptyLine ( )
private

TerminalStripCreatorDialog::setCursorToEmptyLine Set the cursor to the first empty field. It's useful when user creates a new terminal strip with some value prefilled, to increase productivity.

Here is the caller graph for this function:

◆ setInstallation()

void TerminalStripCreatorDialog::setInstallation ( const QString & installation)

TerminalStripCreatorDialog::setInstallation Set the installation field string.

Parameters
installation
Here is the call graph for this function:

◆ setLocation()

void TerminalStripCreatorDialog::setLocation ( const QString & location)

TerminalStripCreatorDialog::setLocation Set the location field string.

Parameters
location
Here is the call graph for this function:

Member Data Documentation

◆ m_project

QETProject* TerminalStripCreatorDialog::m_project = nullptr
private

◆ ui

Ui::TerminalStripCreatorDialog* TerminalStripCreatorDialog::ui
private

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