mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
457b368ae7
- Ensure unicity of players names (in the interface only, not the core) - Update the main window title with the game type - Display the player name in the history - The history widget is now able not to align the rack and the corresponding word - The dictionary path is remembered in the preferences - Ask for confirmation when loading a dictionary in the middle of a game - Preview tiles are coloured differently, and joker characters are in lowercase
56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
/*****************************************************************************
|
|
* Eliot
|
|
* Copyright (C) 2008 Olivier Teulière
|
|
* Authors: Olivier Teulière <ipkiss @@ gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*****************************************************************************/
|
|
|
|
#ifndef PREFS_DIALOG_H_
|
|
#define PREFS_DIALOG_H_
|
|
|
|
#include <QtGui/QDialog>
|
|
#include <QtCore/QString>
|
|
|
|
#include <ui/prefs_dialog.ui.h>
|
|
|
|
|
|
class PrefsDialog: public QDialog, private Ui::PrefsDialog
|
|
{
|
|
Q_OBJECT;
|
|
|
|
public:
|
|
explicit PrefsDialog(QWidget *iParent = 0);
|
|
|
|
static const QString kINTF_ALIGN_HISTORY;
|
|
static const QString kINTF_DIC_PATH;
|
|
|
|
public slots:
|
|
/// Update the settings when the user selects "OK"
|
|
virtual void accept();
|
|
|
|
signals:
|
|
void gameUpdated();
|
|
|
|
private slots:
|
|
void on_pushButtonIntfDicBrowse_clicked();
|
|
|
|
private:
|
|
void updateSettings();
|
|
|
|
};
|
|
|
|
#endif
|
|
|