Question

Please see the following picture: rectangle

In above picture, i specefied a rectangle, i need to draw same rectangle in my program with Qt-Designer, But i don't know to use what widget.

Can i use qt designer or i should just use code?

Notes: I attemp to use QLabel and put --- and | but they don't stick.

My question is , Which widget can help me?

Was it helpful?

Solution

The box that you have circled in the image is a QGroupBox, and can be created using the QtDesigner. Other widgets can then be inserted into like any other widget that supports layouts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top