5int main(
int argc,
char **argv)
The QApplication class manages the GUI application's control flow and main settings.
static int exec()
Enters the main event loop and waits until exit() is called, then returns the value that was set to e...
bool isVisible() const
Returns true if the item is visible; otherwise, false is returned.
The QGraphicsScene class provides a surface for managing a large number of 2D graphical items.
QGraphicsProxyWidget * addWidget(QWidget *widget, Qt::WindowFlags wFlags=Qt::WindowFlags())
Creates a new QGraphicsProxyWidget for widget, adds it to the scene, and returns a pointer to the pro...
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
The QGroupBox widget provides a group box frame with a title.
The QLabel widget provides a text or image display.
The QLineEdit widget is a one-line text editor.
void show()
Shows the window.
QApplication app(argc, argv)
[0]