mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Add dialog to create terminal strip + display existing terminal strip
This commit is contained in:
@@ -167,20 +167,13 @@ class PhysicalTerminal
|
||||
/************************************************************************************/
|
||||
/************************************************************************************/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief TerminalStrip::TerminalStrip
|
||||
* @param installation
|
||||
* @param location
|
||||
* @param name
|
||||
* @param project
|
||||
*/
|
||||
TerminalStrip::TerminalStrip(const QString &name, QETProject *project) :
|
||||
QObject(project),
|
||||
m_project(project)
|
||||
{
|
||||
m_data.m_name = name;
|
||||
}
|
||||
|
||||
TerminalStrip::TerminalStrip(const QString &installation, const QString &location, const QString &name, QETProject *project) :
|
||||
QObject(project),
|
||||
m_project(project)
|
||||
@@ -202,6 +195,10 @@ void TerminalStrip::setName(const QString &name) {
|
||||
m_data.m_name = name;
|
||||
}
|
||||
|
||||
void TerminalStrip::setDescription(const QString &description) {
|
||||
m_data.m_description = description;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief TerminalStrip::addTerminal
|
||||
* Add terminal to this terminal strip
|
||||
|
||||
Reference in New Issue
Block a user