| 170 | } |
| 171 | |
| 172 | static int propertyLabelWidth(const QWidget *ref) { |
| 173 | QFontMetrics fm(ref->font()); |
| 174 | // "Driver Provider:" is the widest label across General and Driver tabs. |
| 175 | return fm.horizontalAdvance("Driver Provider:") + 4; |
| 176 | } |
| 177 | |
| 178 | QWidget *DevicePropertiesDialog::buildGeneralTab() { |
| 179 | auto *w = new QWidget; |
no outgoing calls
no test coverage detected