| 442 | } |
| 443 | |
| 444 | void playlistItemRawFile::createPropertiesWidget() |
| 445 | { |
| 446 | Q_ASSERT_X(!this->propertiesWidget, "createPropertiesWidget", "Properties widget already exists"); |
| 447 | |
| 448 | this->preparePropertiesWidget(QStringLiteral("playlistItemRawFile")); |
| 449 | |
| 450 | // On the top level everything is layout vertically |
| 451 | auto vAllLaout = new QVBoxLayout(this->propertiesWidget.data()); |
| 452 | |
| 453 | auto line = new QFrame; |
| 454 | line->setObjectName(QStringLiteral("line")); |
| 455 | line->setFrameShape(QFrame::HLine); |
| 456 | line->setFrameShadow(QFrame::Sunken); |
| 457 | |
| 458 | // First add the parents controls (first video controls (width/height...) then videoHandler |
| 459 | // controls (format,...) |
| 460 | vAllLaout->addLayout(this->createPlaylistItemControls()); |
| 461 | vAllLaout->addWidget(line); |
| 462 | vAllLaout->addLayout(this->video->createVideoHandlerControls()); |
| 463 | |
| 464 | vAllLaout->insertStretch(-1, 1); // Push controls up |
| 465 | } |
| 466 | |
| 467 | void playlistItemRawFile::savePlaylist(QDomElement &root, const QDir &playlistDir) const |
| 468 | { |
nothing calls this directly
no test coverage detected