| | 187 | 2.1.6. Widget Names |
| | 188 | |
| | 189 | Every widget declared in a Qt Designer .ui file must have a short three or |
| | 190 | four letter prefix that describes the widget's type. |
| | 191 | |
| | 192 | Widget Type Prefix Example |
| | 193 | ------------------------------------------------------------ |
| | 194 | QCheckBox chk chkEnableFoo |
| | 195 | QComboBox cmbo cmbo |
| | 196 | QFrame frm frmMain |
| | 197 | QGroupBox grp grpAdvanced |
| | 198 | QLabel lbl lblHeader |
| | 199 | QLineEdit line lineAddress |
| | 200 | QListView lst lstMessages |
| | 201 | QProgressBar pbar pbarDownload |
| | 202 | QPushButton btn btnClose |
| | 203 | QRadioButton rdo rdoSomeOption |
| | 204 | QSpinBox spn spnDial |
| | 205 | QTableView tbl tblSpreadsheet |
| | 206 | QTabWidget tab tabServerOptions |
| | 207 | QToolButton btn btnExit |
| | 208 | QTreeView tree treeFolders |
| | 209 | |
| | 210 | |