[libcalamares] The spinner doesn't support rich text

This commit is contained in:
Adriaan de Groot 2022-06-10 01:27:37 +02:00
parent 9f91b50553
commit 42f9f07a07
2 changed files with 5 additions and 1 deletions

View File

@ -91,7 +91,7 @@ RequirementsChecker::addCheckedRequirements( Module* m )
m_model->addRequirementsList( l );
}
Q_EMIT requirementsProgress( tr( "Requirements checking for module <i>%1</i> is complete." ).arg( m->name() ) );
Q_EMIT requirementsProgress( tr( "Requirements checking for module '%1' is complete." ).arg( m->name() ) );
}
void

View File

@ -81,6 +81,10 @@ public:
* With AlignBottom, the text is displayed below the spinner,
* centered horizontally relative to the spinner; any other alignment
* will put the text in the middle of the spinner itself.
*
* TODO: this does not support rich text. Rich text could be done
* through a QStaticText, or an HTML document. However, then
* we need to do more alignment calculations ourselves.
*/
void setText( const QString& text );
/** @brief Sets the alignment of text for the spinner