SecretsHandler::SecretsHandler(QObject *parent, Ui::MainWindow *ui) : QObject(parent) { this->ui = ui; this->synchronized = false; this->secretsAnimating = false; completeUI(); }
SearchletDialog::SearchletDialog(QXmlEditData *data, QWidget *parent) : QDialog(parent), ui(new Ui::SearchletDialog), _data(data) { ui->setupUi(this); refineUI(); QTimer::singleShot(1, this, SLOT(completeUI())); }
ArenaHandler::ArenaHandler(QObject *parent, DeckHandler *deckHandler, Ui::Extended *ui) : QObject(parent) { this->webUploader = NULL; this->deckHandler = deckHandler; this->ui = ui; this->transparency = Never; completeUI(); }
DeckHandler::DeckHandler(QObject *parent, QMap<QString, QJsonObject> *cardsJson, Ui::Extended *ui) : QObject(parent) { this->ui = ui; this->cardsJson = cardsJson; this->inGame = false; this->transparency = Opaque; this->greyedHeight = 50; this->cardHeight = 50; this->drawAnimating = false; this->drawDisappear = 10; this->synchronized = false; //Iniciamos deckCardList con 30 cartas desconocidas reset(); completeUI(); }