summaryrefslogtreecommitdiffstats
path: root/examples/pykde-sampler/qt_widgets
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-05 00:17:19 -0600
committerTimothy Pearson <[email protected]>2011-12-05 00:17:19 -0600
commitd070aee4c277d331e54b81ac2881977a8d8cb7c0 (patch)
tree81fc5f857e6f4eafafd48f2ae70a787e02d10c5d /examples/pykde-sampler/qt_widgets
parent01bd7e2ffdc3caa95228e03ad501d778b05270a9 (diff)
downloadpytde-d070aee4c277d331e54b81ac2881977a8d8cb7c0.tar.gz
pytde-d070aee4c277d331e54b81ac2881977a8d8cb7c0.zip
Finish pykde to pytde rename
Diffstat (limited to 'examples/pykde-sampler/qt_widgets')
-rw-r--r--examples/pykde-sampler/qt_widgets/CONTRIB537
-rw-r--r--examples/pykde-sampler/qt_widgets/__init__.py17
-rw-r--r--examples/pykde-sampler/qt_widgets/table.py42
3 files changed, 0 insertions, 596 deletions
diff --git a/examples/pykde-sampler/qt_widgets/CONTRIB b/examples/pykde-sampler/qt_widgets/CONTRIB
deleted file mode 100644
index 3def876..0000000
--- a/examples/pykde-sampler/qt_widgets/CONTRIB
+++ /dev/null
@@ -1,537 +0,0 @@
-Module,Item,Path,Contributor
-dcop,DCOPClient,,,
-dcop,DCOPClientTransaction,,,
-dcop,DCOPObject,,,
-dcop,DCOPObjectProxy,,,
-dcop,DCOPRef,,,
-dcop,DCOPReply,,,
-dcop,DCOPStub,,,
-tdecore,BarIcon,,,
-tdecore,BarIconSet,,,
-tdecore,DesktopIcon,,,
-tdecore,DesktopIconSet,,,
-tdecore,IconSize,,,
-tdecore,KAboutData,,,
-tdecore,KAboutPerson,,,
-tdecore,KAboutTranslator,,,
-tdecore,KAccel,,,
-tdecore,KAccelAction,,,
-tdecore,KAccelActions,,,
-tdecore,KAccelBase,,,
-tdecore,KAccelShortcutList,,,
-tdecore,KApplication,,,
-tdecore,KAsyncIO,,,
-tdecore,KAudioPlayer,,,
-tdecore,KBufferedIO,,,
-tdecore,KCalendarSystem,,,
-tdecore,KCalendarSystemFactory,,,
-tdecore,KCatalogue,,,
-tdecore,KCharsets,,,
-tdecore,KClipboardSynchronizer,,,
-tdecore,KCmdLineArgs,,,
-tdecore,KCmdLineOptions,,,
-tdecore,KCodecs,,,
-tdecore,KCompletion,,,
-tdecore,KCompletionBase,,,
-tdecore,KConfig,,,
-tdecore,KConfigBackEnd,,,
-tdecore,KConfigBase,,,
-tdecore,KConfigDialogManager,,,
-tdecore,KConfigGroup,,,
-tdecore,KConfigGroupSaver,,,
-tdecore,KConfigINIBackEnd,,,
-tdecore,KConfigSkeleton,,,
-tdecore,KConfigSkeletonItem,,,
-tdecore,KCrash,,,
-tdecore,KDCOPPropertyProxy,,,
-tdecore,KDE,,,
-tdecore,KDesktopFile,,,
-tdecore,KEntry,,,
-tdecore,KEntryKey,,,
-tdecore,KGlobal,,,
-tdecore,KGlobalAccel,,,
-tdecore,KGlobalSettings,,,
-tdecore,KIDNA,,,
-tdecore,KIPC,,,
-tdecore,KIcon,,,
-tdecore,KIconEffect,,,
-tdecore,KIconLoader,,,
-tdecore,KIconTheme,,,
-tdecore,KInstance,,,
-tdecore,KKey,,,
-tdecore,KKeyNative,,,
-tdecore,KKeySequence,,,
-tdecore,KKeyServer,,,
-tdecore,KLibFactory,,,
-tdecore,KLibLoader,,,
-tdecore,KLibrary,,,
-tdecore,KLocale,,,
-tdecore,KMD5,,,
-tdecore,KMacroExpander,,,
-tdecore,KMacroExpanderBase,,,
-tdecore,KMimeSourceFactory,,,
-tdecore,KMountPoint,,,
-tdecore,KMultipleDrag,,,
-tdecore,KNotifyClient,,,
-tdecore,KPalette,,,
-tdecore,KPixmapProvider,,,
-tdecore,KProcIO,,,
-tdecore,KProcess,,,
-tdecore,KProcessController,,,
-tdecore,KPty,,,
-tdecore,KRFCDate,,,
-tdecore,KRandomSequence,,,
-tdecore,KRegExp,,,
-tdecore,KRootProp,,,
-tdecore,KSaveFile,,,
-tdecore,KSelectionOwner,,,
-tdecore,KSelectionWatcher,,,
-tdecore,KServerSocket,,,
-tdecore,KSessionManaged,,,
-tdecore,KShared,,,
-tdecore,KSharedConfig,,,
-tdecore,KShell,,,
-tdecore,KShellProcess,,,
-tdecore,KShortcut,,,
-tdecore,KShortcutList,,,
-tdecore,KSimpleConfig,,,
-tdecore,KSocket,,,
-tdecore,KStandardDirs,,,
-tdecore,KStartupInfo,,,
-tdecore,KStartupInfoData,,,
-tdecore,KStartupInfoId,,,
-tdecore,KStaticDeleterBase,,,
-tdecore,KStdAccel,,,
-tdecore,KStringHandler,,,
-tdecore,KTempDir,,,
-tdecore,KTempFile,,,
-tdecore,KURL,,,
-tdecore,KURLDrag,,,
-tdecore,KUniqueApplication,,,
-tdecore,KWin,,,
-tdecore,KWinModule,,,
-tdecore,KZoneAllocator,,,
-tdecore,MainBarIcon,,,
-tdecore,MainBarIconSet,,,
-tdecore,NET,,,
-tdecore,NETIcon,,,
-tdecore,NETPoint,,,
-tdecore,NETRect,,,
-tdecore,NETRootInfo,,,
-tdecore,NETRootInfo2,,,
-tdecore,NETSize,,,
-tdecore,NETStrut,,,
-tdecore,NETWinInfo,,,
-tdecore,SmallIcon,,,
-tdecore,SmallIconSet,,,
-tdecore,UserIcon,,,
-tdecore,UserIconSet,,,
-tdecore,i18n,,,
-tdecore,locate,,,
-tdecore,locateLocal,,,
-tdecore,testKEntryMap,,,
-tdecore,urlcmp,,,
-tdefx,KCPUInfo,,,
-tdefx,KImageEffect,,,
-tdefx,KPixmap,,,
-tdefx,KPixmapEffect,,,
-tdefx,KPixmapSplitter,,,
-tdefx,KStyle,,,
-tdefx,kColorBitmaps,,,
-tdefx,kDrawBeButton,,,
-tdefx,kDrawNextButton,,,
-tdefx,kDrawRoundButton,,,
-tdefx,kDrawRoundMask,,,
-tdefx,kRoundMaskRegion,,,
-tdeprint,DrBase,,,
-tdeprint,DrBooleanOption,,,
-tdeprint,DrChoiceGroup,,,
-tdeprint,DrConstraint,,,
-tdeprint,DrFloatOption,,,
-tdeprint,DrGroup,,,
-tdeprint,DrIntegerOption,,,
-tdeprint,DrListOption,,,
-tdeprint,DrMain,,,
-tdeprint,DrPageSize,,,
-tdeprint,DrStringOption,,,
-tdeprint,KMJob,,,
-tdeprint,KMJobManager,,,
-tdeprint,KMManager,,,
-tdeprint,KMObject,,,
-tdeprint,KMPrinter,,,
-tdeprint,KPReloadObject,,,
-tdeprint,KPrintAction,,,
-tdeprint,KPrintDialog,,,
-tdeprint,KPrintDialogPage,,,
-tdeprint,KPrinter,,,
-tdeprint,pageNameToPageSize,,,
-tdeprint,pageSizeToPageName,,,
-tdeprint,rangeToSize,,,
-tdesu,KCookie,,,
-tdesu,KDEsuClient,,,
-tdesu,PTY,,,
-tdesu,PtyProcess,,,
-tdesu,SshProcess,,,
-tdesu,StubProcess,,,
-tdesu,SuProcess,,,
-tdeui,KAboutApplication,,,
-tdeui,KAboutContainer,,,
-tdeui,KAboutContributor,,,
-tdeui,KAboutDialog,,,
-tdeui,KAboutKDE,,,
-tdeui,KAboutWidget,,,
-tdeui,KAction,,,
-tdeui,KActionCollection,,,
-tdeui,KActionMenu,,,
-tdeui,KActionPtrShortcutList,,,
-tdeui,KActionSeparator,,,
-tdeui,KActionShortcutList,,,
-tdeui,KActiveLabel,,,
-tdeui,KAnimWidget,,,
-tdeui,KArrowButton,,,
-tdeui,KAuthIcon,,,
-tdeui,KBugReport,,,
-tdeui,KButtonBox,,,
-tdeui,KCModule,,,
-tdeui,KCharSelect,,,
-tdeui,KCharSelectTable,,,
-tdeui,KColor,,,
-tdeui,KColorButton,,,
-tdeui,KColorCells,,,
-tdeui,KColorCombo,,,
-tdeui,KColorDialog,,,
-tdeui,KColorDrag,,,
-tdeui,KColorPatch,,,
-tdeui,KComboBox,,,
-tdeui,KCommand,,,
-tdeui,KCommandHistory,,,
-tdeui,KCompletionBox,,,
-tdeui,KConfigDialog,,,
-tdeui,KContextMenuManager,,,
-tdeui,KCursor,,,
-tdeui,KDCOPActionProxy,,,
-tdeui,KDateInternalMonthPicker,,,
-tdeui,KDateInternalWeekSelector,,,
-tdeui,KDateInternalYearSelector,,,
-tdeui,KDatePicker,,,
-tdeui,KDateTable,,,
-tdeui,KDateTimeWidget,,,
-tdeui,KDateValidator,,,
-tdeui,KDateWidget,,,
-tdeui,KDialog,,,
-tdeui,KDialogBase,,,
-tdeui,KDialogQueue,,,
-tdeui,KDockArea,,,
-tdeui,KDockMainWindow,,,
-tdeui,KDockManager,,,
-tdeui,KDockTabGroup,,,
-tdeui,KDockWidget,,,
-tdeui,KDockWidgetAbstractHeader,,,
-tdeui,KDockWidgetAbstractHeaderDrag,,,
-tdeui,KDockWidgetHeader,,,
-tdeui,KDockWidgetHeaderDrag,,,
-tdeui,KDockWindow,,,
-tdeui,KDoubleNumInput,,,
-tdeui,KDoubleSpinBox,,,
-tdeui,KDoubleValidator,,,
-tdeui,KDualColorButton,,,
-tdeui,KEdFind,,,
-tdeui,KEdGotoLine,,,
-tdeui,KEdReplace,,,
-tdeui,KEdit,,,
-tdeui,KEditListBox,,,
-tdeui,KEditToolbar,,,
-tdeui,KEditToolbarWidget,,,
-tdeui,KFloatValidator,,,
-tdeui,KFontAction,,,
-tdeui,KFontChooser,,,
-tdeui,KFontCombo,,,
-tdeui,KFontDialog,,,
-tdeui,KFontRequester,,,
-tdeui,KFontSizeAction,,,
-tdeui,KGradientSelector,,,
-tdeui,KGuiItem,,,
-tdeui,KHSSelector,,,
-tdeui,KHelpMenu,,,
-tdeui,KHistoryCombo,,,
-tdeui,KIconView,,,
-tdeui,KIconViewItem,,,
-tdeui,KInputDialog,,,
-tdeui,KIntNumInput,,,
-tdeui,KIntSpinBox,,,
-tdeui,KIntValidator,,,
-tdeui,KJanusWidget,,,
-tdeui,KKeyButton,,,
-tdeui,KKeyChooser,,,
-tdeui,KKeyDialog,,,
-tdeui,KLed,,,
-tdeui,KLineEdit,,,
-tdeui,KLineEditDlg,,,
-tdeui,KListAction,,,
-tdeui,KListBox,,,
-tdeui,KListView,,,
-tdeui,KListViewItem,,,
-tdeui,KMacroCommand,,,
-tdeui,KMainWindow,,,
-tdeui,KMainWindowInterface,,,
-tdeui,KMenuBar,,,
-tdeui,KMessageBox,,,
-tdeui,KMimeTypeValidator,,,
-tdeui,KNamedCommand,,,
-tdeui,KNumInput,,,
-tdeui,KPaletteTable,,,
-tdeui,KPanelAppMenu,,,
-tdeui,KPanelApplet,,,
-tdeui,KPanelExtension,,,
-tdeui,KPanelMenu,,,
-tdeui,KPassivePopup,,,
-tdeui,KPasswordDialog,,,
-tdeui,KPasswordEdit,,,
-tdeui,KPasteTextAction,,,
-tdeui,KPixmapIO,,,
-tdeui,KPopupFrame,,,
-tdeui,KPopupMenu,,,
-tdeui,KPopupTitle,,,
-tdeui,KProgress,,,
-tdeui,KProgressDialog,,,
-tdeui,KPushButton,,,
-tdeui,KRadioAction,,,
-tdeui,KRecentFilesAction,,,
-tdeui,KRestrictedLine,,,
-tdeui,KRootPermsIcon,,,
-tdeui,KRootPixmap,,,
-tdeui,KRuler,,,
-tdeui,KSelectAction,,,
-tdeui,KSelector,,,
-tdeui,KSeparator,,,
-tdeui,KSplashScreen,,,
-tdeui,KSqueezedTextLabel,,,
-tdeui,KStatusBar,,,
-tdeui,KStatusBarLabel,,,
-tdeui,KStdAction,,,
-tdeui,KStdGuiItem,,,
-tdeui,KStringListValidator,,,
-tdeui,KSystemTray,,,
-tdeui,KTabBar,,,
-tdeui,KTabCtl,,,
-tdeui,KTabWidget,,,
-tdeui,KTextBrowser,,,
-tdeui,KTextEdit,,,
-tdeui,KTimeWidget,,,
-tdeui,KTipDatabase,,,
-tdeui,KTipDialog,,,
-tdeui,KToggleAction,,,
-tdeui,KToggleFullScreenAction,,,
-tdeui,KToggleToolBarAction,,,
-tdeui,KToolBar,,,
-tdeui,KToolBarButton,,,
-tdeui,KToolBarPopupAction,,,
-tdeui,KToolBarRadioGroup,,,
-tdeui,KToolBarSeparator,,,
-tdeui,KURLLabel,,,
-tdeui,KValueSelector,,,
-tdeui,KWidgetAction,,,
-tdeui,KWindowInfo,,,
-tdeui,KWindowListMenu,,,
-tdeui,KWizard,,,
-tdeui,KWordWrap,,,
-tdeui,KWritePermsIcon,,,
-tdeui,KXMLGUIBuilder,,,
-tdeui,KXMLGUIClient,,,
-tdeui,KXMLGUIFactory,,,
-tdeui,KXYSelector,,,
-tdeui,QXEmbed,,,
-tdeui,testKActionList,,,
-kfile,KApplicationPropsPlugin,,,
-kfile,KBindingPropsPlugin,,,
-kfile,KCombiView,,,
-kfile,KCustomMenuEditor,,,
-kfile,KDesktopPropsPlugin,,,
-kfile,KDevicePropsPlugin,,,
-kfile,KDirOperator,,,
-kfile,KDirSelectDialog,,,
-kfile,KDirSize,,,
-kfile,KDiskFreeSp,,,
-kfile,KEncodingFileDialog,,,
-kfile,KExecPropsPlugin,,,
-kfile,KFile,,,
-kfile,KFileDetailView,,,
-kfile,KFileDialog,,,
-kfile,KFileFilterCombo,,,
-kfile,KFileIconView,,,
-kfile,KFileIconViewItem,,,
-kfile,KFileListViewItem,,,
-kfile,KFileOpenWithHandler,,,
-kfile,KFilePermissionsPropsPlugin,,,
-kfile,KFilePreview,,,
-kfile,KFilePropsPlugin,,,
-kfile,KFileSharePropsPlugin,,,
-kfile,KFileTreeBranch,,,
-kfile,KFileTreeView,,,
-kfile,KFileTreeViewItem,,,
-kfile,KFileTreeViewToolTip,,,
-kfile,KFileView,,,
-kfile,KFileViewSignaler,,,
-kfile,KIconButton,,,
-kfile,KIconCanvas,,,
-kfile,KIconDialog,,,
-kfile,KImageFilePreview,,,
-kfile,KNotify,,,
-kfile,KNotifyDialog,,,
-kfile,KOpenWithDlg,,,
-kfile,KPreviewWidgetBase,,,
-kfile,KPropertiesDialog,,,
-kfile,KPropsDlgPlugin,,,
-kfile,KRecentDocument,,,
-kfile,KURLBar,,,
-kfile,KURLBarItem,,,
-kfile,KURLBarItemDialog,,,
-kfile,KURLBarListBox,,,
-kfile,KURLComboBox,,,
-kfile,KURLComboRequester,,,
-kfile,KURLPropsPlugin,,,
-kfile,KURLRequester,,,
-kfile,KURLRequesterDlg,,,
-khtml,DOM,,,
-khtml,KHTMLPart,,,
-khtml,KHTMLSettings,,,
-khtml,KHTMLView,,,
-kio,KAr,,,
-kio,KArchive,,,
-kio,KArchiveDirectory,,,
-kio,KArchiveEntry,,,
-kio,KArchiveFile,,,
-kio,KAutoMount,,,
-kio,KAutoUnmount,,,
-kio,KDCOPServiceStarter,,,
-kio,KDEDesktopMimeType,,,
-kio,KDataTool,,,
-kio,KDataToolAction,,,
-kio,KDataToolInfo,,,
-kio,KDirLister,,,
-kio,KDirNotify,,,
-kio,KDirWatch,,,
-kio,KEMailSettings,,,
-kio,KExecMimeType,,,
-kio,KFileFilter,,,
-kio,KFileItem,,,
-kio,KFileMetaInfo,,,
-kio,KFileMetaInfoGroup,,,
-kio,KFileMetaInfoItem,,,
-kio,KFileMetaInfoProvider,,,
-kio,KFileMimeTypeInfo,,,
-kio,KFilePlugin,,,
-kio,KFileShare,,,
-kio,KFileSharePrivate,,,
-kio,KFilterBase,,,
-kio,KFilterDev,,,
-kio,KFolderType,,,
-kio,KIO,,,
-kio,KImageIO,,,
-kio,KMimeMagic,,,
-kio,KMimeMagicResult,,,
-kio,KMimeType,,,
-kio,KOCRDialog,,,
-kio,KOCRDialogFactory,,,
-kio,KOpenWithHandler,,,
-kio,KProcessRunner,,,
-kio,KProtocolInfo,,,
-kio,KProtocolManager,,,
-kio,KRun,,,
-kio,KST_CTimeInfo,,,
-kio,KST_KCustom,,,
-kio,KST_KDEDesktopMimeType,,,
-kio,KST_KExecMimeType,,,
-kio,KST_KFolderType,,,
-kio,KST_KImageIO,,,
-kio,KST_KImageIOFormat,,,
-kio,KST_KMimeType,,,
-kio,KST_KProtocolInfo,,,
-kio,KST_KProtocolInfoFactory,,,
-kio,KST_KService,,,
-kio,KST_KServiceFactory,,,
-kio,KST_KServiceGroup,,,
-kio,KST_KServiceGroupFactory,,,
-kio,KST_KServiceType,,,
-kio,KST_KServiceTypeFactory,,,
-kio,KST_KSycocaEntry,,,
-kio,KScanDialog,,,
-kio,KScanDialogFactory,,,
-kio,KService,,,
-kio,KServiceGroup,,,
-kio,KServiceOffer,,,
-kio,KServiceSeparator,,,
-kio,KServiceType,,,
-kio,KServiceTypeProfile,,,
-kio,KShellCompletion,,,
-kio,KShred,,,
-kio,KSimpleFileFilter,,,
-kio,KSycoca,,,
-kio,KSycocaEntry,,,
-kio,KSycocaFactory,,,
-kio,KTar,,,
-kio,KTrader,,,
-kio,KURIFilter,,,
-kio,KURIFilterData,,,
-kio,KURIFilterPlugin,,,
-kio,KURLCompletion,,,
-kio,KURLPixmapProvider,,,
-kio,KZip,,,
-kio,KZipFileEntry,,,
-kio,Observer,,,
-kio,RenameDlgPlugin,,,
-kio,ThumbCreator,,,
-kio,testKIOMetaData,,,
-kio,testKIOUDSEntry,,,
-kio,testKIOUDSEntryList,,,
-kmdi,KMdi,,,
-kmdi,KMdiChildArea,,,
-kmdi,KMdiChildFrm,,,
-kmdi,KMdiChildFrmCaption,,,
-kmdi,KMdiChildFrmDragBeginEvent,,,
-kmdi,KMdiChildFrmDragEndEvent,,,
-kmdi,KMdiChildFrmMoveEvent,,,
-kmdi,KMdiChildFrmResizeBeginEvent,,,
-kmdi,KMdiChildFrmResizeEndEvent,,,
-kmdi,KMdiChildView,,,
-kmdi,KMdiMainFrm,,,
-kmdi,KMdiTaskBar,,,
-kmdi,KMdiTaskBarButton,,,
-kmdi,KMdiToolViewAccessor,,,
-kmdi,KMdiViewCloseEvent,,,
-kmdi,KMdiWin32IconButton,,,
-kparts,KParts,,,
-kparts,createReadOnlyPart,,,
-kparts,createReadWritePart,,,
-kparts,testTQMapTQCStringInt,,,
-kspell,KS_ADD,,,
-kspell,KS_CANCEL,,,
-kspell,KS_CLIENT_ASPELL,,,
-kspell,KS_CLIENT_HSPELL,,,
-kspell,KS_CLIENT_ISPELL,,,
-kspell,KS_CONFIG,,,
-kspell,KS_E_ASCII,,,
-kspell,KS_E_CP1251,,,
-kspell,KS_E_CP1255,,,
-kspell,KS_E_KOI8R,,,
-kspell,KS_E_KOI8U,,,
-kspell,KS_E_LATIN1,,,
-kspell,KS_E_LATIN13,,,
-kspell,KS_E_LATIN15,,,
-kspell,KS_E_LATIN2,,,
-kspell,KS_E_LATIN3,,,
-kspell,KS_E_LATIN4,,,
-kspell,KS_E_LATIN5,,,
-kspell,KS_E_LATIN7,,,
-kspell,KS_E_LATIN8,,,
-kspell,KS_E_LATIN9,,,
-kspell,KS_E_UTF8,,,
-kspell,KS_IGNORE,,,
-kspell,KS_IGNOREALL,,,
-kspell,KS_REPLACE,,,
-kspell,KS_REPLACEALL,,,
-kspell,KS_STOP,,,
-kspell,KS_SUGGEST,,,
-kspell,KSpell,,,
-kspell,KSpellConfig,,,
-kspell,KSpellDlg,,,
diff --git a/examples/pykde-sampler/qt_widgets/__init__.py b/examples/pykde-sampler/qt_widgets/__init__.py
deleted file mode 100644
index fdd6539..0000000
--- a/examples/pykde-sampler/qt_widgets/__init__.py
+++ /dev/null
@@ -1,17 +0,0 @@
-labelText = 'TQt Widgets'
-iconName = 'designer'
-
-helpText = """TQt provides a rich set of widgets for application use.
-Select the children of this item to see for yourself."""
-
-from qt import TQFrame, TQVBoxLayout, SIGNAL
-from tdeui import KTextEdit
-
-
-class MainFrame(TQFrame):
- def __init__(self, parent=None):
- TQFrame.__init__(self, parent)
- self.help = KTextEdit(helpText, '', self)
- layout = TQVBoxLayout(self, 4)
- layout.addWidget(self.help)
- layout.addStretch(1)
diff --git a/examples/pykde-sampler/qt_widgets/table.py b/examples/pykde-sampler/qt_widgets/table.py
deleted file mode 100644
index 4a689d2..0000000
--- a/examples/pykde-sampler/qt_widgets/table.py
+++ /dev/null
@@ -1,42 +0,0 @@
-labelText = 'TQTable'
-iconName = 'inline_table'
-
-helpText = """From the docs: 'The TQTable class provides a flexible
-editable table widget.'
-"""
-
-import csv
-import os
-
-from qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL
-from qttable import TQTable
-
-from tdeui import KTextEdit
-
-contrib = os.path.join(os.path.split(__file__)[0], 'CONTRIB')
-
-
-class MainFrame(TQFrame):
- def __init__(self, parent=None):
- TQFrame.__init__(self, parent)
- self.help = KTextEdit(helpText, '', self)
-
- data = csv.reader(open(contrib))
- header = data.next()
- items = [item for item in data]
-
- self.table = table = TQTable(len(items), len(header), self)
- headers = TQStringList()
- for headertext in header:
- headers.append(headertext)
- table.setColumnLabels(headers)
-
- cols = range(len(header))
- for row, record in enumerate(items):
- for col in cols:
- table.setText(row, col, record[col])
-
- layout = TQVBoxLayout(self, 4)
- layout.addWidget(self.help)
- layout.addWidget(self.table)
- layout.addStretch(1)