Difference between revisions of "Avdump GUI"

10,723 bytes added ,  13:33, 3 June 2011
m
no edit summary
m
Line 324: Line 324:
if __name__ == "__main__":
if __name__ == "__main__":
     main()
     main()
</pre>
<pre  style="font-size: 60%;">
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Python27\Lib\site-packages\PyQt4\avdump.ui'
#
# Created: Fri Jun 03 11:19:16 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(600, 400)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(600, 400))
        MainWindow.setMaximumSize(QtCore.QSize(600, 400))
        self.main = QtGui.QWidget(MainWindow)
        self.main.setObjectName(_fromUtf8("main"))
        self.username_box = QtGui.QGroupBox(self.main)
        self.username_box.setGeometry(QtCore.QRect(430, 10, 165, 51))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.username_box.sizePolicy().hasHeightForWidth())
        self.username_box.setSizePolicy(sizePolicy)
        self.username_box.setObjectName(_fromUtf8("username_box"))
        self.username = QtGui.QLineEdit(self.username_box)
        self.username.setGeometry(QtCore.QRect(10, 20, 145, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.username.sizePolicy().hasHeightForWidth())
        self.username.setSizePolicy(sizePolicy)
        self.username.setObjectName(_fromUtf8("username"))
        self.api_box = QtGui.QGroupBox(self.main)
        self.api_box.setGeometry(QtCore.QRect(430, 60, 165, 51))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.api_box.sizePolicy().hasHeightForWidth())
        self.api_box.setSizePolicy(sizePolicy)
        self.api_box.setObjectName(_fromUtf8("api_box"))
        self.apikey = QtGui.QLineEdit(self.api_box)
        self.apikey.setGeometry(QtCore.QRect(10, 20, 145, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.apikey.sizePolicy().hasHeightForWidth())
        self.apikey.setSizePolicy(sizePolicy)
        self.apikey.setObjectName(_fromUtf8("apikey"))
        self.progressBar = QtGui.QProgressBar(self.main)
        self.progressBar.setGeometry(QtCore.QRect(5, 230, 421, 23))
        self.progressBar.setProperty(_fromUtf8("value"), 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.start_button = QtGui.QPushButton(self.main)
        self.start_button.setGeometry(QtCore.QRect(430, 230, 80, 23))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.start_button.sizePolicy().hasHeightForWidth())
        self.start_button.setSizePolicy(sizePolicy)
        self.start_button.setObjectName(_fromUtf8("start_button"))
        self.options_box = QtGui.QGroupBox(self.main)
        self.options_box.setGeometry(QtCore.QRect(430, 110, 165, 61))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.options_box.sizePolicy().hasHeightForWidth())
        self.options_box.setSizePolicy(sizePolicy)
        self.options_box.setObjectName(_fromUtf8("options_box"))
        self.exp = QtGui.QCheckBox(self.options_box)
        self.exp.setGeometry(QtCore.QRect(10, 20, 141, 16))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exp.sizePolicy().hasHeightForWidth())
        self.exp.setSizePolicy(sizePolicy)
        self.exp.setChecked(True)
        self.exp.setObjectName(_fromUtf8("exp"))
        self.done = QtGui.QCheckBox(self.options_box)
        self.done.setGeometry(QtCore.QRect(10, 40, 141, 16))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.done.sizePolicy().hasHeightForWidth())
        self.done.setSizePolicy(sizePolicy)
        self.done.setChecked(True)
        self.done.setObjectName(_fromUtf8("done"))
        self.scapth_box = QtGui.QGroupBox(self.main)
        self.scapth_box.setGeometry(QtCore.QRect(430, 170, 165, 51))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scapth_box.sizePolicy().hasHeightForWidth())
        self.scapth_box.setSizePolicy(sizePolicy)
        self.scapth_box.setObjectName(_fromUtf8("scapth_box"))
        self.files_button = QtGui.QPushButton(self.scapth_box)
        self.files_button.setGeometry(QtCore.QRect(10, 20, 72, 23))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.files_button.sizePolicy().hasHeightForWidth())
        self.files_button.setSizePolicy(sizePolicy)
        self.files_button.setObjectName(_fromUtf8("files_button"))
        self.folder_button = QtGui.QPushButton(self.scapth_box)
        self.folder_button.setGeometry(QtCore.QRect(85, 20, 72, 23))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.folder_button.sizePolicy().hasHeightForWidth())
        self.folder_button.setSizePolicy(sizePolicy)
        self.folder_button.setObjectName(_fromUtf8("folder_button"))
        self.datatable = QtGui.QTableWidget(self.main)
        self.datatable.setGeometry(QtCore.QRect(5, 10, 421, 211))
        self.datatable.setObjectName(_fromUtf8("datatable"))
        self.datatable.setColumnCount(3)
        self.datatable.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.datatable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.datatable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.datatable.setHorizontalHeaderItem(2, item)
        self.stop_button = QtGui.QPushButton(self.main)
        self.stop_button.setGeometry(QtCore.QRect(515, 230, 80, 23))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stop_button.sizePolicy().hasHeightForWidth())
        self.stop_button.setSizePolicy(sizePolicy)
        self.stop_button.setObjectName(_fromUtf8("stop_button"))
        self.groupBox = QtGui.QGroupBox(self.main)
        self.groupBox.setGeometry(QtCore.QRect(5, 259, 591, 135))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.ed2k_export = QtGui.QTextBrowser(self.groupBox)
        self.ed2k_export.setGeometry(QtCore.QRect(7, 17, 577, 111))
        self.ed2k_export.setObjectName(_fromUtf8("ed2k_export"))
        MainWindow.setCentralWidget(self.main)
        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Avdump2", None, QtGui.QApplication.UnicodeUTF8))
        self.username_box.setTitle(QtGui.QApplication.translate("MainWindow", "Username", None, QtGui.QApplication.UnicodeUTF8))
        self.api_box.setTitle(QtGui.QApplication.translate("MainWindow", "Api-key", None, QtGui.QApplication.UnicodeUTF8))
        self.start_button.setText(QtGui.QApplication.translate("MainWindow", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.options_box.setTitle(QtGui.QApplication.translate("MainWindow", "Optionen", None, QtGui.QApplication.UnicodeUTF8))
        self.exp.setText(QtGui.QApplication.translate("MainWindow", "export ed2k links", None, QtGui.QApplication.UnicodeUTF8))
        self.done.setText(QtGui.QApplication.translate("MainWindow", "ignore already scanned", None, QtGui.QApplication.UnicodeUTF8))
        self.scapth_box.setTitle(QtGui.QApplication.translate("MainWindow", "Files/Folder to process", None, QtGui.QApplication.UnicodeUTF8))
        self.files_button.setText(QtGui.QApplication.translate("MainWindow", "Files", None, QtGui.QApplication.UnicodeUTF8))
        self.folder_button.setText(QtGui.QApplication.translate("MainWindow", "Folder", None, QtGui.QApplication.UnicodeUTF8))
        self.datatable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "path", None, QtGui.QApplication.UnicodeUTF8))
        self.datatable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "filename", None, QtGui.QApplication.UnicodeUTF8))
        self.datatable.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "status", None, QtGui.QApplication.UnicodeUTF8))
        self.stop_button.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "ED2k-Export", None, QtGui.QApplication.UnicodeUTF8))
</pre>
</pre>


MediaWiki spam blocked by CleanTalk.