mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
Remove deck brew by ZeldaZach
This commit is contained in:
parent
8ce5c5a276
commit
839da83d2c
7 changed files with 46 additions and 25 deletions
|
|
@ -548,13 +548,15 @@ void UserInterfaceSettingsPage::soundPathButtonClicked()
|
|||
|
||||
DeckEditorSettingsPage::DeckEditorSettingsPage()
|
||||
{
|
||||
priceTagsCheckBox.setChecked(settingsCache->getPriceTagFeature());
|
||||
connect(&priceTagsCheckBox, SIGNAL(stateChanged(int)), settingsCache, SLOT(setPriceTagFeature(int)));
|
||||
//priceTagsCheckBox.setChecked(settingsCache->getPriceTagFeature());
|
||||
//connect(&priceTagsCheckBox, SIGNAL(stateChanged(int)), settingsCache, SLOT(setPriceTagFeature(int)));
|
||||
|
||||
connect(this, SIGNAL(priceTagSourceChanged(int)), settingsCache, SLOT(setPriceTagSource(int)));
|
||||
|
||||
QGridLayout *generalGrid = new QGridLayout;
|
||||
generalGrid->addWidget(&priceTagsCheckBox, 0, 0);
|
||||
//generalGrid->addWidget(&priceTagsCheckBox, 0, 0);
|
||||
|
||||
generalGrid->addWidget(new QLabel(tr("Nothing is here... yet")), 0, 0);
|
||||
|
||||
generalGroupBox = new QGroupBox;
|
||||
generalGroupBox->setLayout(generalGrid);
|
||||
|
|
@ -567,10 +569,11 @@ DeckEditorSettingsPage::DeckEditorSettingsPage()
|
|||
|
||||
void DeckEditorSettingsPage::retranslateUi()
|
||||
{
|
||||
priceTagsCheckBox.setText(tr("Enable &price tag feature from deckbrew.com"));
|
||||
//priceTagsCheckBox.setText(tr("Enable &price tag feature from deckbrew.com"));
|
||||
generalGroupBox->setTitle(tr("General"));
|
||||
}
|
||||
|
||||
/*
|
||||
void DeckEditorSettingsPage::radioPriceTagSourceClicked(bool checked)
|
||||
{
|
||||
if(!checked)
|
||||
|
|
@ -579,6 +582,7 @@ void DeckEditorSettingsPage::radioPriceTagSourceClicked(bool checked)
|
|||
int source=AbstractPriceUpdater::DBPriceSource;
|
||||
emit priceTagSourceChanged(source);
|
||||
}
|
||||
*/
|
||||
|
||||
MessagesSettingsPage::MessagesSettingsPage()
|
||||
{
|
||||
|
|
@ -838,7 +842,7 @@ void DlgSettings::closeEvent(QCloseEvent *event)
|
|||
case NotLoaded:
|
||||
loadErrorMessage =
|
||||
tr("Your card database did not finish loading\n\n"
|
||||
"Please file a ticket at http://github.com/Daenyth/Cockatrice/issues with your cards.xml attached\n\n"
|
||||
"Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues with your cards.xml attached\n\n"
|
||||
"Would you like to change your database location setting?");
|
||||
break;
|
||||
case FileError:
|
||||
|
|
@ -854,7 +858,7 @@ void DlgSettings::closeEvent(QCloseEvent *event)
|
|||
default:
|
||||
loadErrorMessage =
|
||||
tr("Unknown card database load status\n\n"
|
||||
"Please file a ticket at http://github.com/Daenyth/Cockatrice/issues\n\n"
|
||||
"Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues\n\n"
|
||||
"Would you like to change your database location setting?");
|
||||
|
||||
break;
|
||||
|
|
@ -885,9 +889,9 @@ void DlgSettings::retranslateUi()
|
|||
|
||||
generalButton->setText(tr("General"));
|
||||
appearanceButton->setText(tr("Appearance"));
|
||||
userInterfaceButton->setText(tr("User interface"));
|
||||
deckEditorButton->setText(tr("Deck editor"));
|
||||
messagesButton->setText(tr("Chat Settings"));
|
||||
userInterfaceButton->setText(tr("User Interface"));
|
||||
deckEditorButton->setText(tr("Deck Editor"));
|
||||
messagesButton->setText(tr("Chat"));
|
||||
|
||||
for (int i = 0; i < pagesWidget->count(); i++)
|
||||
dynamic_cast<AbstractSettingsPage *>(pagesWidget->widget(i))->retranslateUi();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue