Home > Mobile >  Retarded eldest brother to help the problem
Retarded eldest brother to help the problem

Time:11-25

TableItemForm: : TableItemForm (CarInfo info, QWidget * parent) :
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 in
TableItemForm: : TableItemForm (const CarInfo & amp; Info, QWidget * parent) :
QWidget (parent),
UI (new UI: : TableItemForm)
{
The UI - & gt; SetupUi (this);
  •  Tags:  
  • Qt
  • Related