#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './dialogue_xinerama.ui'
**
** Created: ven aoû 29 18:45:14 2003
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "dialogue_xinerama.h"

#include <qvariant.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a Dialogue_Xinerama as a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
Dialogue_Xinerama::Dialogue_Xinerama( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "Dialogue_Xinerama" );

    pushButton5 = new QPushButton( this, "pushButton5" );
    pushButton5->setGeometry( QRect( 10, 10, 480, 70 ) );
    languageChange();
    resize( QSize(501, 88).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( pushButton5, SIGNAL( clicked() ), this, SLOT( close() ) );
}

/*
 *  Destroys the object and frees any allocated resources
 */
Dialogue_Xinerama::~Dialogue_Xinerama()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void Dialogue_Xinerama::languageChange()
{
    setCaption( tr2i18n( "Attention Xinerama" ) );
    pushButton5->setText( tr2i18n( "Avec Xinerma, Il faut que tous les écrans aient le même nombre de couleurs." ) );
}

#include "dialogue_xinerama.moc"
