QWidget (parent),
UI (new UI: : TableItemForm)
{
The UI - & gt; SetupUi (this);
Added a CarInfo info, how does this statement! How do I statement is correct
CodePudding user response:
In this code, not clear you want to use local variables, or member variables, or a static variable or something else,CodePudding user response:
//bring header file contains the definition of CarInfo inTableItemForm: : TableItemForm (const CarInfo & amp; Info, QWidget * parent) :
QWidget (parent),
UI (new UI: : TableItemForm)
{
The UI - & gt; SetupUi (this);