| 252 | } |
| 253 | |
| 254 | Format |
| 255 | AddFormatDialog::getFormat() const |
| 256 | { |
| 257 | int w = (int)_widthSpinBox->value(); |
| 258 | int h = (int)_heightSpinBox->value(); |
| 259 | double pa = _pixelAspectSpinBox->value(); |
| 260 | QString name = _nameLineEdit->text(); |
| 261 | |
| 262 | return Format(0, 0, w, h, name.toStdString(), pa); |
| 263 | } |
| 264 | |
| 265 | // Version is handled in ProjectGuiSerialization |
| 266 | template<> |
no test coverage detected