Home > Mobile >  Qt stack design demonstration, into the stack and the stack
Qt stack design demonstration, into the stack and the stack

Time:10-22

QT implementation stack display interface, stops the outbound;
Do not bottom go to, don't know a button for another button input how many times; For help,

CodePudding user response:

refer to the original poster weixin_44216113 response:
QT implementation stack display interface, stops the outbound;
Do not bottom go to, don't know a button for another button input how many times; For help,

Please help  thank you meowed

CodePudding user response:

In drawing way better?

CodePudding user response:

Although can't complete understand what you want to achieve, however, why don't you only one column QTableView + QStandardItemModel to implement on the stack, is still below the three buttons

CodePudding user response:

reference donwmufromdying reply: 3/f
although can't complete understand what you want to achieve, however, why don't you only one column QTableView + QStandardItemModel to implement on the stack, is still the three buttons at the bottom of

Just learning qt don't know much about of according to oneself idea, not found

CodePudding user response:

reference donwmufromdying reply: 3/f
although can't complete understand what you want to achieve, however, why don't you only one column QTableView + QStandardItemModel to implement on the stack, is still the three buttons at the bottom of

Should use what to implement a stack, tomorrow want to hand in class, also can learn today? Don't know what to learn what knowledge, is to set a interface will show you into the stack

CodePudding user response:

Suggest you use the attribute of Qt animation classes do, QPropertyAnimation,
Can control controls do translation such as animation,

Do less experience, use the most simple way:
Create four QWidget, create specified when the parent for this, setStyleSheet (" QWidget {background: blue; } "); Make four blue window background,
Resize (w, h), and then move (x, y), put in your drawing (or create) 4 the top of the box, and then hide ();

In the header file, int cout=0; Point into the stack, the response of the tank to the button function, show () out the cout a Widget, and then use properties animation control y direction increases, the finish is the box you position, cout + +;

, in turn, points out the stack, process y direction decreases, the finish is the initial position, cout -; Then hide ();

CodePudding user response:

With a list of storage into and out of the stack, and then draw the things in the list.
  •  Tags:  
  • Qt
  • Related