Opening a form
-
Hi,
Did you make another widget with review.ui ? If not how are you using it ? What kind of items do you want to add to it ?
-
Hi,
Did you make another widget with review.ui ? If not how are you using it ? What kind of items do you want to add to it ?
-
You can create widgets with Designer which will have a .ui and both .h and .cpp file which will be a "complete designer" widget or you can also have independent .ui files that you load by hand.
It's all explained here
As for your main problem of adding stuff. How is your application supposed to work ?
-
You can create widgets with Designer which will have a .ui and both .h and .cpp file which will be a "complete designer" widget or you can also have independent .ui files that you load by hand.
It's all explained here
As for your main problem of adding stuff. How is your application supposed to work ?
-
Then you should rather transfer these data and let your
reviewwidget build itself based on them. -
Then you should rather transfer these data and let your
reviewwidget build itself based on them.Using add file in Qt I crated a new review class (crated the review.ui, review.cpp and review.h). When I try to open review from additem.cpp
review *mReview; mReview->exec ();it works fine until I click submit. At that time the program freezes. What did I do wrong?
(I also included review.h in additem.h:#include "review.h")
-
You declare a pointer to a review object that your never initialize.