52 lines
914 B
C++
52 lines
914 B
C++
#include "commandmsg.h"
|
|
|
|
CommandMsg::CommandMsg()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
QString CommandMsg::text() const
|
|
{
|
|
return m_text;
|
|
}
|
|
|
|
void CommandMsg::setText(const QString &text)
|
|
{
|
|
m_text = text;
|
|
emit textChanged(m_text);
|
|
}
|
|
|
|
|
|
|
|
void CommandMsg::btnclicked_int(float param1, float param2, float param3, float param4, int x, int y, float z)
|
|
{
|
|
qDebug() << param1
|
|
<< param2
|
|
<< param3
|
|
<< param4
|
|
<< x
|
|
<< y
|
|
<< z;
|
|
emit cmd_int(param1,param2,param3,param4,x,y,z);
|
|
|
|
}
|
|
void CommandMsg::btnclicked_long(float param1, float param2, float param3, float param4, float param5, float param6, float param7)
|
|
{
|
|
qDebug() << param1
|
|
<< param2
|
|
<< param3
|
|
<< param4
|
|
<< param5
|
|
<< param6
|
|
<< param7;
|
|
emit cmd_long(param1,param2,param3,param4,param5,param6,param7);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|