Initial commit
[kcnrtl.git] / kcnrtl / gui / Ui_kcnrtl.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file '/home/bogdan/Documents/Programmation/projets/kcnrtl/kcnrtl.ui'
4 #
5 # Created: Thu May 10 00:52:48 2012
6 #      by: PyQt4 UI code generator 4.9.1
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 try:
13     _fromUtf8 = QtCore.QString.fromUtf8
14 except AttributeError:
15     _fromUtf8 = lambda s: s
16
17 class Ui_MainWindow(object):
18     def setupUi(self, MainWindow):
19         MainWindow.setObjectName(_fromUtf8("MainWindow"))
20         MainWindow.resize(428, 605)
21         icon = QtGui.QIcon()
22         icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/kcnrtl_icon.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
23         MainWindow.setWindowIcon(icon)
24         self.centralwidget = QtGui.QWidget(MainWindow)
25         self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
26         self.gridLayout = QtGui.QGridLayout(self.centralwidget)
27         self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
28         self.lineEdit = QtGui.QLineEdit(self.centralwidget)
29         self.lineEdit.setInputMask(_fromUtf8(""))
30         self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
31         self.gridLayout.addWidget(self.lineEdit, 0, 0, 1, 1)
32         self.tabWidget = QtGui.QTabWidget(self.centralwidget)
33         self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
34         self.tab = QtGui.QWidget()
35         self.tab.setObjectName(_fromUtf8("tab"))
36         self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab)
37         self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
38         self.comboBox = QtGui.QComboBox(self.tab)
39         self.comboBox.setObjectName(_fromUtf8("comboBox"))
40         self.verticalLayout_3.addWidget(self.comboBox)
41         self.webView = QtWebKit.QWebView(self.tab)
42         self.webView.setStyleSheet(_fromUtf8(""))
43         self.webView.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
44         self.webView.setObjectName(_fromUtf8("webView"))
45         self.verticalLayout_3.addWidget(self.webView)
46         self.tabWidget.addTab(self.tab, _fromUtf8(""))
47         self.tab_2 = QtGui.QWidget()
48         self.tab_2.setObjectName(_fromUtf8("tab_2"))
49         self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab_2)
50         self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
51         self.listView = QtGui.QListView(self.tab_2)
52         self.listView.setObjectName(_fromUtf8("listView"))
53         self.verticalLayout_2.addWidget(self.listView)
54         self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
55         self.tab_3 = QtGui.QWidget()
56         self.tab_3.setObjectName(_fromUtf8("tab_3"))
57         self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_3)
58         self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
59         self.listView_2 = QtGui.QListView(self.tab_3)
60         self.listView_2.setObjectName(_fromUtf8("listView_2"))
61         self.verticalLayout_4.addWidget(self.listView_2)
62         self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
63         self.gridLayout.addWidget(self.tabWidget, 1, 0, 1, 1)
64         self.horizontalLayout = QtGui.QHBoxLayout()
65         self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
66         self.checkBox = QtGui.QCheckBox(self.centralwidget)
67         self.checkBox.setObjectName(_fromUtf8("checkBox"))
68         self.horizontalLayout.addWidget(self.checkBox)
69         self.comboBox_2 = QtGui.QComboBox(self.centralwidget)
70         self.comboBox_2.setObjectName(_fromUtf8("comboBox_2"))
71         self.horizontalLayout.addWidget(self.comboBox_2)
72         self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
73         MainWindow.setCentralWidget(self.centralwidget)
74         self.menubar = QtGui.QMenuBar(MainWindow)
75         self.menubar.setGeometry(QtCore.QRect(0, 0, 428, 21))
76         self.menubar.setObjectName(_fromUtf8("menubar"))
77         MainWindow.setMenuBar(self.menubar)
78         self.statusbar = QtGui.QStatusBar(MainWindow)
79         self.statusbar.setObjectName(_fromUtf8("statusbar"))
80         MainWindow.setStatusBar(self.statusbar)
81
82         self.retranslateUi(MainWindow)
83         self.tabWidget.setCurrentIndex(0)
84         QtCore.QMetaObject.connectSlotsByName(MainWindow)
85
86     def retranslateUi(self, MainWindow):
87         MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "KCnrtl", None, QtGui.QApplication.UnicodeUTF8))
88         self.lineEdit.setText(QtGui.QApplication.translate("MainWindow", "Tapez un mot et pressez Entrer", None, QtGui.QApplication.UnicodeUTF8))
89         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Lexicographie", None, QtGui.QApplication.UnicodeUTF8))
90         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Synonymie", None, QtGui.QApplication.UnicodeUTF8))
91         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Antonymie", None, QtGui.QApplication.UnicodeUTF8))
92         self.checkBox.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head/><body><p>En choisissant ce mode, vous pouvez directement utilisez le contenu du presse-papiers pour vos requĂȘtes.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
93         self.checkBox.setText(QtGui.QApplication.translate("MainWindow", "Clipboard Mode", None, QtGui.QApplication.UnicodeUTF8))
94
95 from PyQt4 import QtWebKit
96 import resources.kcnrtl_rc
97
98 if __name__ == "__main__":
99     import sys
100     app = QtGui.QApplication(sys.argv)
101     MainWindow = QtGui.QMainWindow()
102     ui = Ui_MainWindow()
103     ui.setupUi(MainWindow)
104     MainWindow.show()
105     sys.exit(app.exec_())
106