summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_widgets_qframe.cpp
blob: 99fe79d0f687476449966c15ec38865aabd9a7c9 (plain)
1
2
3
4
5
6
7
8
//! [0]
QLabel label(...);
label.setFrameStyle(QFrame::Panel | QFrame::Raised);
label.setLineWidth(2);

QProgressBar pbar(...);
label.setFrameStyle(QFrame::NoFrame);
//! [0]