Definition at line 191 of file gui.py.
def movies2hdd.gui.SeriesSelection.__init__ |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Definition at line 192 of file gui.py.
194 super(SeriesSelection, self).
__init__(parent)
195 self.setWindowTitle(
"Series Selection")
197 self.
introduction = QLabel(
"Please enter the name of the series to search for and the language code.")
198 self.introduction.setWordWrap(
True)
200 self.
form = QFormLayout()
201 self.form.series = QLineEdit()
202 self.form.addRow(self.tr(
"&Series:"), self.form.series)
203 self.form.lang = QLineEdit()
204 self.form.addRow(self.tr(
"&Language code:"), self.form.lang)
205 self.layout.addLayout(self.
form)
210 self.
table = QTableWidget()
211 self.table.setColumnCount(3)
212 self.table.setHorizontalHeaderLabels([
"ID",
"Series",
"Overview"])
213 self.layout.addWidget(self.
table)
215 self.
button = QPushButton(
"Se&lect")
216 self.layout.addWidget(self.
button)
217 self.button.clicked.connect(self.
select)
219 self.setLayout(self.
layout)