Keep the QP adaptation tooltip readable in source

This commit is contained in:
evgeny committed 2026-10-18 22:26:23 +02:00
1 parent 242d0f5493
commit 5568331510
1 file changed
+2 -1
+2 -1
View File
@@ -92,7 +92,8 @@ StreamPublishWindow::StreamPublishWindow(StreamPublishEngine* engine, uint64_t g
m_maxQp->setToolTip(text("Lower QP preserves more detail and may require a higher bitrate. Applies to H.264 and H.265.")); m_maxQp->setToolTip(text("Lower QP preserves more detail and may require a higher bitrate. Applies to H.264 and H.265."));
m_adaptiveQp = new QCheckBox(text("Adapt QP to the target bitrate"), settings); m_adaptiveQp = new QCheckBox(text("Adapt QP to the target bitrate"), settings);
m_adaptiveQp->setObjectName(QStringLiteral("streamAdaptiveQp")); m_adaptiveQp->setObjectName(QStringLiteral("streamAdaptiveQp"));
m_adaptiveQp->setToolTip(text("Gradually raise the QP ceiling above the selected value when bitrate is too high, then return it. Requires live QP adjustment.")); m_adaptiveQp->setToolTip(text(
"Gradually raise the QP ceiling above the selected value when bitrate is too high, then return it. Requires live QP adjustment."));
int bitrateRow = 0; QFormLayout::ItemRole bitrateRole; int bitrateRow = 0; QFormLayout::ItemRole bitrateRole;
form->getWidgetPosition(m_bitrate, &bitrateRow, &bitrateRole); form->getWidgetPosition(m_bitrate, &bitrateRow, &bitrateRole);
form->insertRow(bitrateRow + 1, text("Maximum QP"), m_maxQp); form->insertRow(bitrateRow + 2, m_adaptiveQp); form->insertRow(bitrateRow + 1, text("Maximum QP"), m_maxQp); form->insertRow(bitrateRow + 2, m_adaptiveQp);