CodePudding user response:
The UI - & gt; Label_2 - & gt; SetText (QString: : number (list) at (0)))CodePudding user response:
Can't write 1. UI - & gt; Label_2 - & gt; SetText (" "+ QString: : number (list) at (0))); 2. The UI - & gt; Label_2 - & gt; SetText (QString (" % 1 "). Arg (list) at (0)));CodePudding user response:
Is this your search what ah... First how to also can't get an empty string to a Numbers together, the second, it's not VB see arg () document how do you sayCodePudding user response:
Oid QLabel: : setNum (int num) (slot)CodePudding user response:
Int a=8001;The UI - & gt; The label - & gt; SetText (QString: : number (a, 10));