summaryrefslogtreecommitdiffstats
path: root/src/langselectw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/langselectw.cpp')
-rw-r--r--src/langselectw.cpp123
1 files changed, 123 insertions, 0 deletions
diff --git a/src/langselectw.cpp b/src/langselectw.cpp
new file mode 100644
index 0000000..357acfd
--- /dev/null
+++ b/src/langselectw.cpp
@@ -0,0 +1,123 @@
+#include <klocale.h>
+/****************************************************************************
+** Form implementation generated from reading ui file './langselectw.ui'
+**
+** Created: dim. oct. 26 08:57:34 2008
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#include "langselectw.h"
+
+#include <qvariant.h>
+#include <qheader.h>
+#include <qlistview.h>
+#include <qlayout.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+static const unsigned char img0_langselectw[] = {
+ 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
+ 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12,
+ 0x08, 0x06, 0x00, 0x00, 0x00, 0xbd, 0xf9, 0x35, 0x54, 0x00, 0x00, 0x02,
+ 0x27, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x9d, 0xd2, 0x4f, 0x48, 0xd3,
+ 0x61, 0x18, 0xc0, 0xf1, 0xef, 0xef, 0x97, 0xca, 0x0a, 0xff, 0xe5, 0x82,
+ 0x22, 0x0c, 0x9a, 0x82, 0x59, 0x66, 0xed, 0x20, 0x25, 0x1d, 0x86, 0x51,
+ 0x20, 0x81, 0xc1, 0x82, 0x9d, 0xa2, 0xc3, 0x3a, 0x64, 0x07, 0x0f, 0xa5,
+ 0xd0, 0xa5, 0x0e, 0x5b, 0x5d, 0x0a, 0x42, 0x72, 0x75, 0x08, 0xba, 0x48,
+ 0x07, 0x3b, 0x49, 0x18, 0x51, 0x14, 0x44, 0x1b, 0x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, 0x58, 0x1f, 0x94, 0x63, 0x0b, 0x2c, 0x5d, 0x3a, 0x01, 0x91, 0x08,
+ 0x44, 0x22, 0xc4, 0xe2, 0x71, 0xe6, 0xd7, 0xd6, 0x26, 0x76, 0x54, 0x8a,
+ 0xd7, 0xfe, 0xfb, 0xf0, 0x31, 0xdf, 0xd2, 0xa4, 0x4d, 0xbc, 0x31, 0x36,
+ 0xf9, 0xde, 0x82, 0xf3, 0x19, 0x8c, 0x0e, 0xe7, 0xed, 0x44, 0x71, 0xad,
+ 0x10, 0xa2, 0x14, 0x79, 0x7d, 0xeb, 0xa8, 0xd5, 0xff, 0xea, 0xb2, 0x70,
+ 0x3e, 0xb6, 0xf8, 0x76, 0x7c, 0x7d, 0x27, 0x04, 0xe0, 0xa3, 0xbd, 0xc3,
+ 0x17, 0x9e, 0x79, 0x20, 0x46, 0xaf, 0xb5, 0x5b, 0xff, 0x05, 0x29, 0xbb,
+ 0xf6, 0x4a, 0x30, 0x33, 0xa8, 0xfe, 0xfc, 0x42, 0xdb, 0x19, 0x93, 0xad,
+ 0x52, 0x37, 0x39, 0xad, 0xdc, 0x79, 0x7f, 0xbb, 0xcd, 0x19, 0x98, 0xba,
+ 0x27, 0x9e, 0x5c, 0x39, 0x62, 0xff, 0xaf, 0x4e, 0x00, 0x16, 0x57, 0xe4,
+ 0xbb, 0xee, 0x77, 0x9f, 0x08, 0x56, 0x77, 0x34, 0x54, 0x6a, 0xe4, 0x0f,
+ 0x51, 0x7b, 0x2c, 0x24, 0xc5, 0xd9, 0x54, 0x2e, 0x00, 0x00, 0x00, 0x00,
+ 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
+};
+
+
+/*
+ * Constructs a langSelect as a child of 'parent', with the
+ * name 'name' and widget flags set to 'f'.
+ */
+langSelect::langSelect( QWidget* parent, const char* name, WFlags fl )
+ : QWidget( parent, name, fl )
+{
+ QImage img;
+ img.loadFromData( img0_langselectw, sizeof( img0_langselectw ), "PNG" );
+ image0 = img;
+ if ( !name )
+ setName( "langSelect" );
+ setIcon( image0 );
+ langSelectLayout = new QGridLayout( this, 1, 1, 2, 6, "langSelectLayout");
+
+ lvLanguages = new QListView( this, "lvLanguages" );
+ lvLanguages->addColumn( tr2i18n( "Languages" ) );
+ lvLanguages->header()->setClickEnabled( FALSE, lvLanguages->header()->count() - 1 );
+ lvLanguages->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) );
+ lvLanguages->setMinimumSize( QSize( 208, 0 ) );
+ lvLanguages->setHScrollBarMode( QListView::AlwaysOff );
+ lvLanguages->setResizeMode( QListView::LastColumn );
+
+ langSelectLayout->addWidget( lvLanguages, 0, 0 );
+ languageChange();
+ resize( QSize(600, 480).expandedTo(minimumSizeHint()) );
+ clearWState( WState_Polished );
+}
+
+/*
+ * Destroys the object and frees any allocated resources
+ */
+langSelect::~langSelect()
+{
+ // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ * Sets the strings of the subwidgets using the current
+ * language.
+ */
+void langSelect::languageChange()
+{
+ setCaption( tr2i18n( "Selection" ) );
+ lvLanguages->header()->setLabel( 0, tr2i18n( "Languages" ) );
+}
+
+#include "langselectw.moc"