added mass tool and improved import
This commit is contained in:
parent
98b7c766fe
commit
9b6253b848
40 changed files with 19799 additions and 1189 deletions
|
|
@ -82,7 +82,9 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D
|
|||
|
||||
// DPI calculation
|
||||
qreal screenRatio = AppEnv::screenRatio();
|
||||
#ifndef Q_QS_ANDROID
|
||||
resize(625 * screenRatio, 500 * screenRatio);
|
||||
#endif
|
||||
ui->vlUserInterface->setSpacing(6 * screenRatio);
|
||||
ui->vlUserInterface->setContentsMargins(9 * screenRatio, 9 * screenRatio, 9 * screenRatio, 9 * screenRatio);
|
||||
}
|
||||
|
|
@ -560,3 +562,23 @@ void UserInterface::retranslateUi()
|
|||
this->setWindowTitle(defaultWindowTitle.arg(tr("Select Profile")));
|
||||
}
|
||||
}
|
||||
|
||||
void UserInterface::on_actionQualify_as_Avatar_triggered()
|
||||
{
|
||||
profileUI->massTool(MassTool::Qualify);
|
||||
}
|
||||
|
||||
void UserInterface::on_actionChange_Players_triggered()
|
||||
{
|
||||
profileUI->massTool(MassTool::Players);
|
||||
}
|
||||
|
||||
void UserInterface::on_actionSet_Crew_triggered()
|
||||
{
|
||||
profileUI->massTool(MassTool::Crew);
|
||||
}
|
||||
|
||||
void UserInterface::on_actionSet_Title_triggered()
|
||||
{
|
||||
profileUI->massTool(MassTool::Title);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue