QTfrontend/ui/dialog/input_password.h
author unc0rr
Sun, 24 Aug 2014 23:41:06 +0400
changeset 10398 d9cf9ef08ba7
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
permissions -rw-r--r--
Also convert the message if current team is gone
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     1
/*
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     2
 * Hedgewars, a free turn based strategy game
9998
736015b847e3 update copyright to 2014
sheepluva
parents: 9080
diff changeset
     3
 * Copyright (c) 2004-2014 Andrey Korotaev <unC0Rr@gmail.com>
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     4
 *
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     8
 *
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    12
 * GNU General Public License for more details.
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    13
 *
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
10108
c68cf030eded update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents: 9998
diff changeset
    16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    17
 */
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    18
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    19
#ifndef INPUT_PASSWORD_H
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    20
#define INPUT_PASSWORD_H
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    21
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    22
#include <QDialog>
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    23
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    24
class QLineEdit;
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    25
class QCheckBox;
8364
fbc9bcc6c39d Added "New account" button when connectiong to the official server
vitiv <nikita.utiu@gmail.com>
parents: 8181
diff changeset
    26
class QPushButton;
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    27
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    28
class HWPasswordDialog : public QDialog
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    29
{
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    30
        Q_OBJECT
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    31
    public:
8181
70e980278080 GCI2012: User/Pass Single Prompt
Ondrej
parents: 6952
diff changeset
    32
        HWPasswordDialog(QWidget* parent);
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    33
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    34
        QLineEdit* lePassword;
8181
70e980278080 GCI2012: User/Pass Single Prompt
Ondrej
parents: 6952
diff changeset
    35
        QLineEdit* leNickname;
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    36
        QCheckBox* cbSave;
8364
fbc9bcc6c39d Added "New account" button when connectiong to the official server
vitiv <nikita.utiu@gmail.com>
parents: 8181
diff changeset
    37
        QPushButton * pbNewAccount;
6910
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    38
};
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    39
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    40
ea058558c68b add a checkbox for the password field prompt (issue 316)
Stepan777
parents:
diff changeset
    41
#endif // INPUT_PASSWORD_H