qhandjoob add search button
Signed-off-by: sebastien <sebastien@perso> Signed-off-by: Romain Bignon <romain@symlink.me>
This commit is contained in:
parent
8fb3bce5f1
commit
3fbe113e61
2 changed files with 14 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ class MainWindow(QtMainWindow):
|
|||
self.connect(self.ui.actionBackends, SIGNAL("triggered()"), self.backendsConfig)
|
||||
self.connect(self.ui.searchEdit, SIGNAL('returnPressed()'), self.doSearch)
|
||||
self.connect(self.ui.jobList, SIGNAL('currentItemChanged(QListWidgetItem*, QListWidgetItem*)'), self.jobSelected)
|
||||
self.connect(self.ui.searchButton, SIGNAL('clicked()'), self.doSearch)
|
||||
|
||||
if self.weboob.count_backends() == 0:
|
||||
self.backendsConfig()
|
||||
|
|
|
|||
|
|
@ -35,7 +35,18 @@
|
|||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="searchEdit"/>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="searchEdit"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="searchButton">
|
||||
<property name="text">
|
||||
<string>search</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListWidget" name="jobList">
|
||||
|
|
@ -405,6 +416,7 @@
|
|||
<tabstop>jobList</tabstop>
|
||||
<tabstop>descriptionEdit</tabstop>
|
||||
<tabstop>searchEdit</tabstop>
|
||||
<tabstop>searchButton</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue