/**************************************************************************** ** Form implementation generated from reading ui file './aboutpluginsbase.ui' ** ** Created: Thu Jun 12 14:02:27 2008 ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "aboutpluginsbase.h" #include #include #include #include #include #include #include /* * Constructs a AboutPluginsBase 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. */ AboutPluginsBase::AboutPluginsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { if ( !name ) setName( "AboutPluginsBase" ); AboutPluginsBaseLayout = new QGridLayout( this, 1, 1, 11, 6, "AboutPluginsBaseLayout"); layout13 = new QVBoxLayout( 0, 0, 6, "layout13"); layout12 = new QHBoxLayout( 0, 0, 6, "layout12"); pluginList = new QListBox( this, "pluginList" ); pluginList->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, 1, 0, pluginList->sizePolicy().hasHeightForWidth() ) ); pluginList->setMaximumSize( QSize( 300, 32767 ) ); layout12->addWidget( pluginList ); infoBrowser = new QTextBrowser( this, "infoBrowser" ); infoBrowser->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)7, 0, 0, infoBrowser->sizePolicy().hasHeightForWidth() ) ); layout12->addWidget( infoBrowser ); layout13->addLayout( layout12 ); layout7 = new QHBoxLayout( 0, 0, 6, "layout7"); spacer6_2 = new QSpacerItem( 501, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); layout7->addItem( spacer6_2 ); pushButton1 = new QPushButton( this, "pushButton1" ); pushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, pushButton1->sizePolicy().hasHeightForWidth() ) ); layout7->addWidget( pushButton1 ); layout13->addLayout( layout7 ); AboutPluginsBaseLayout->addLayout( layout13, 0, 0 ); languageChange(); resize( QSize(767, 617).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( pushButton1, SIGNAL( clicked() ), this, SLOT( close() ) ); } /* * Destroys the object and frees any allocated resources */ AboutPluginsBase::~AboutPluginsBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void AboutPluginsBase::languageChange() { setCaption( tr( "Scribus: About Plug-ins" ) ); pushButton1->setText( tr( "&Close" ) ); pushButton1->setAccel( QKeySequence( tr( "Alt+C" ) ) ); } #include "aboutpluginsbase.moc"