Exemplo n.º 1
0
SecretsHandler::SecretsHandler(QObject *parent, Ui::MainWindow *ui) : QObject(parent)
{
    this->ui = ui;
    this->synchronized = false;
    this->secretsAnimating = false;

    completeUI();
}
Exemplo n.º 2
0
SearchletDialog::SearchletDialog(QXmlEditData *data, QWidget *parent) :
    QDialog(parent),
    ui(new Ui::SearchletDialog),
    _data(data)
{
    ui->setupUi(this);
    refineUI();
    QTimer::singleShot(1, this, SLOT(completeUI()));
}
Exemplo n.º 3
0
ArenaHandler::ArenaHandler(QObject *parent, DeckHandler *deckHandler, Ui::Extended *ui) : QObject(parent)
{
    this->webUploader = NULL;
    this->deckHandler = deckHandler;
    this->ui = ui;
    this->transparency = Never;

    completeUI();
}
Exemplo n.º 4
0
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();
}