mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Add demo terminal strip class
Not available for user now.
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
|
||||
namespace TerminalStripDrawer
|
||||
{
|
||||
/**
|
||||
* @brief TrueTerminalStrip::TrueTerminalStrip
|
||||
* Constructor, this class don't take ownership of @a strip
|
||||
* @param strip
|
||||
*/
|
||||
TrueTerminalStrip::TrueTerminalStrip(TerminalStrip *strip) :
|
||||
m_strip { strip }
|
||||
{}
|
||||
@@ -69,11 +74,6 @@ namespace TerminalStripDrawer
|
||||
return vector_;
|
||||
}
|
||||
|
||||
bool TrueTerminalStrip::operator()()
|
||||
{
|
||||
return m_strip;
|
||||
}
|
||||
|
||||
TruePhysicalTerminal::TruePhysicalTerminal(QSharedPointer<PhysicalTerminal> physical) :
|
||||
m_physical { physical }
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user