-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shiny lock option to Event Manaphy research #414
Conversation
Seeing as this is a static entry, I believe we should be following the same format as before and have it all contained within the templates rather than a check box just for a single Pokemon. If this means there are two static templates for locked vs non-locked then that should still be better. |
Added the second template! |
Source/Form/Gen4/Static4.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes if we add the shiny combobox, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added combobox instead of checkbox
Source/Form/Gen4/Static4.cpp
Outdated
|
||
if (staticTemplate->getShiny() == Shiny::Never) | ||
{ | ||
ui->checkBoxSearcherShinyLock->setChecked(true); | ||
} | ||
else | ||
{ | ||
ui->checkBoxSearcherShinyLock->setChecked(false); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be able to be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/Gen4/Static4.cpp
Outdated
|
||
if (staticTemplate->getShiny() == Shiny::Never) { | ||
ui->checkBoxGeneratorShinyLock->setChecked(true); | ||
} | ||
else { | ||
ui->checkBoxGeneratorShinyLock->setChecked(false); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be able to be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/Gen4/Static4.cpp
Outdated
ui->comboBoxGeneratorPokemon->addItem( | ||
QString::fromStdString(Translator::getSpecie(templates[i].getSpecie(), templates[i].getForm())), | ||
QVariant::fromValue(i)); | ||
|
||
if (templates[i].getShiny() == Shiny::Never) | ||
{ | ||
ui->comboBoxGeneratorPokemon->addItem( | ||
QString::fromStdString(Translator::getSpecie(templates[i].getSpecie(), templates[i].getForm())) | ||
+ " (" + tr("Shiny Locked") + ")", | ||
QVariant::fromValue(i)); | ||
} | ||
else | ||
{ | ||
ui->comboBoxGeneratorPokemon->addItem( | ||
QString::fromStdString(Translator::getSpecie(templates[i].getSpecie(), templates[i].getForm())), | ||
QVariant::fromValue(i)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to do this or just add a shiny combobox that gets filled out by the template like we have in the other windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_de.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_fr.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_it.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_ja.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_ko.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Source/Form/i18n/PokeFinder_zh.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this file needs to have any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Add what asked in #413