添加状态生成
This commit is contained in:
@@ -38,6 +38,18 @@ void StatusUI::setValue(QLabel *w,QString s)
|
||||
w->setText(s);
|
||||
}
|
||||
|
||||
void StatusUI::install(int flag, QString t,QVariant v,StateWidget::state s,int index)
|
||||
{
|
||||
StateWidget *w = new StateWidget(flag,t,v,s,index);
|
||||
|
||||
|
||||
|
||||
StateList.insert(index,w);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void StatusUI::setMode(uint32_t pos,QVariant value1,QVariant value2)
|
||||
{
|
||||
switch (pos) {
|
||||
|
||||
Reference in New Issue
Block a user