mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
UI stash text improved and stash shortcuts
This commit is contained in:
@@ -469,19 +469,19 @@ namespace BlackGui
|
||||
const CAuthenticatedUser user(this->getSwiftDbUser());
|
||||
if (!user.isAuthenticated())
|
||||
{
|
||||
ui->pb_Publish->setText("Publish (login)");
|
||||
ui->pb_Publish->setText(" Publish (login) ");
|
||||
ui->pb_Publish->setToolTip("Login first");
|
||||
ui->pb_Publish->setEnabled(false);
|
||||
}
|
||||
else if (user.canDirectlyWriteModels())
|
||||
{
|
||||
ui->pb_Publish->setText("Publish (dir.)");
|
||||
ui->pb_Publish->setText(" Publish (dir.) ");
|
||||
ui->pb_Publish->setToolTip("Models directly released");
|
||||
ui->pb_Publish->setEnabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->pb_Publish->setText("Publish (CR)");
|
||||
ui->pb_Publish->setText(" Publish (CR) ");
|
||||
ui->pb_Publish->setToolTip("Models published as change request");
|
||||
ui->pb_Publish->setEnabled(true);
|
||||
}
|
||||
|
||||
@@ -6,22 +6,13 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>859</width>
|
||||
<height>221</height>
|
||||
<width>860</width>
|
||||
<height>222</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Frame</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="vl_DbStashComponent">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
@@ -127,35 +118,35 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_Model">
|
||||
<property name="text">
|
||||
<string>Model</string>
|
||||
<string>&1: Model</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_Distributor">
|
||||
<property name="text">
|
||||
<string>Distributor</string>
|
||||
<string> &2: Distributor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_AircraftIcao">
|
||||
<property name="text">
|
||||
<string>Aircraft ICAO</string>
|
||||
<string> &3: Aircraft ICAO</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_Livery">
|
||||
<property name="text">
|
||||
<string>Livery</string>
|
||||
<string> &4: Livery</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_AirlineIcao">
|
||||
<property name="text">
|
||||
<string>Airline ICAO</string>
|
||||
<string> &5: Airline ICAO</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace BlackGui
|
||||
ui(new Ui::CDownloadAndInstallDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->bb_DownloadInstallDialog->button(QDialogButtonBox::Ok)->setText("Download and install");
|
||||
ui->bb_DownloadInstallDialog->button(QDialogButtonBox::Ok)->setText(" Download and install ");
|
||||
this->selectionChanged();
|
||||
connect(ui->comp_DistributionInfo, &CDistributionInfoComponent::selectionChanged, this, &CDownloadAndInstallDialog::selectionChanged);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user