MCPcopy Create free account
hub / github.com/IENT/YUView / createPropertiesWidget

Method createPropertiesWidget

YUViewLib/src/playlistitem/playlistItemRawFile.cpp:444–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void 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
467void playlistItemRawFile::savePlaylist(QDomElement &root, const QDir &playlistDir) const
468{

Callers

nothing calls this directly

Calls 4

dataMethod · 0.45

Tested by

no test coverage detected