[license] Move a less-useful message to tooltip
- the message about setup continuing can be a tooltip
This commit is contained in:
parent
c220220563
commit
59ea0417fc
@ -110,8 +110,6 @@ LicensePage::LicensePage( QWidget* parent )
|
||||
ui->mainText->setWordWrap( true );
|
||||
ui->mainText->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum );
|
||||
|
||||
ui->additionalText->setWordWrap( true );
|
||||
|
||||
ui->acceptFrame->setFrameStyle( QFrame::NoFrame | QFrame::Plain );
|
||||
ui->acceptFrame->setStyleSheet( mustAccept );
|
||||
ui->acceptFrame->layout()->setMargin( CalamaresUtils::defaultFontHeight() / 2 );
|
||||
@ -157,7 +155,8 @@ LicensePage::retranslate()
|
||||
ui->mainText->setText( tr( "This setup procedure will install proprietary "
|
||||
"software that is subject to licensing terms." )
|
||||
+ br + review );
|
||||
ui->additionalText->setText( tr( "If you do not agree with the terms, the setup procedure cannot continue." ) );
|
||||
QString mustAcceptText( tr( "If you do not agree with the terms, the setup procedure cannot continue." ) );
|
||||
ui->acceptCheckBox->setToolTip( mustAcceptText );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -166,8 +165,9 @@ LicensePage::retranslate()
|
||||
"in order to provide additional features and enhance the user "
|
||||
"experience." )
|
||||
+ br + review );
|
||||
ui->additionalText->setText( tr( "If you do not agree with the terms, proprietary software will not "
|
||||
QString okAcceptText( tr( "If you do not agree with the terms, proprietary software will not "
|
||||
"be installed, and open source alternatives will be used instead." ) );
|
||||
ui->acceptCheckBox->setToolTip( okAcceptText );
|
||||
}
|
||||
ui->retranslateUi( this );
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0,0,0,0">
|
||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0,0,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="titleLabel">
|
||||
<property name="text">
|
||||
@ -87,7 +87,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>765</width>
|
||||
<height>81</height>
|
||||
<height>89</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="licenseEntriesLayout"/>
|
||||
@ -107,22 +107,6 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="additionalText">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"><additionalText></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<property name="spacing">
|
||||
|
Loading…
Reference in New Issue
Block a user