Skip to content

Commit 855a9f9

Browse files
committed
Generated py for search.
1 parent 14266de commit 855a9f9

6 files changed

Lines changed: 35 additions & 15 deletions

File tree

Makefile

100755100644
File mode changed.

debian.sh

100755100644
File mode changed.

debian/rules

100755100644
File mode changed.

osx.sh

100755100644
File mode changed.

src/bitmessageqt/bitmessageui.py

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Form implementation generated from reading ui file 'bitmessageui.ui'
44
#
5-
# Created: Thu Jun 13 01:02:50 2013
6-
# by: PyQt4 UI code generator 4.10.1
5+
# Created: Fri Jul 12 01:59:15 2013
6+
# by: PyQt4 UI code generator 4.10
77
#
88
# WARNING! All changes made in this file will be lost!
99

@@ -54,6 +54,21 @@ def setupUi(self, MainWindow):
5454
self.inbox.setObjectName(_fromUtf8("inbox"))
5555
self.verticalLayout_2 = QtGui.QVBoxLayout(self.inbox)
5656
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
57+
self.horizontalLayoutSearch = QtGui.QHBoxLayout()
58+
self.horizontalLayoutSearch.setContentsMargins(-1, 0, -1, -1)
59+
self.horizontalLayoutSearch.setObjectName(_fromUtf8("horizontalLayoutSearch"))
60+
self.searchLineEdit = QtGui.QLineEdit(self.inbox)
61+
self.searchLineEdit.setObjectName(_fromUtf8("searchLineEdit"))
62+
self.horizontalLayoutSearch.addWidget(self.searchLineEdit)
63+
self.searchOptionCB = QtGui.QComboBox(self.inbox)
64+
self.searchOptionCB.setObjectName(_fromUtf8("searchOptionCB"))
65+
self.searchOptionCB.addItem(_fromUtf8(""))
66+
self.searchOptionCB.addItem(_fromUtf8(""))
67+
self.searchOptionCB.addItem(_fromUtf8(""))
68+
self.searchOptionCB.addItem(_fromUtf8(""))
69+
self.searchOptionCB.addItem(_fromUtf8(""))
70+
self.horizontalLayoutSearch.addWidget(self.searchOptionCB)
71+
self.verticalLayout_2.addLayout(self.horizontalLayoutSearch)
5772
self.tableWidgetInbox = QtGui.QTableWidget(self.inbox)
5873
self.tableWidgetInbox.setAlternatingRowColors(True)
5974
self.tableWidgetInbox.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
@@ -392,7 +407,7 @@ def setupUi(self, MainWindow):
392407
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
393408
MainWindow.setCentralWidget(self.centralwidget)
394409
self.menubar = QtGui.QMenuBar(MainWindow)
395-
self.menubar.setGeometry(QtCore.QRect(0, 0, 795, 18))
410+
self.menubar.setGeometry(QtCore.QRect(0, 0, 795, 20))
396411
self.menubar.setObjectName(_fromUtf8("menubar"))
397412
self.menuFile = QtGui.QMenu(self.menubar)
398413
self.menuFile.setObjectName(_fromUtf8("menuFile"))
@@ -467,6 +482,11 @@ def setupUi(self, MainWindow):
467482

468483
def retranslateUi(self, MainWindow):
469484
MainWindow.setWindowTitle(_translate("MainWindow", "Bitmessage", None))
485+
self.searchOptionCB.setItemText(0, _translate("MainWindow", "All", None))
486+
self.searchOptionCB.setItemText(1, _translate("MainWindow", "To", None))
487+
self.searchOptionCB.setItemText(2, _translate("MainWindow", "From", None))
488+
self.searchOptionCB.setItemText(3, _translate("MainWindow", "Subject", None))
489+
self.searchOptionCB.setItemText(4, _translate("MainWindow", "Received", None))
470490
self.tableWidgetInbox.setSortingEnabled(True)
471491
item = self.tableWidgetInbox.horizontalHeaderItem(0)
472492
item.setText(_translate("MainWindow", "To", None))
@@ -484,8 +504,8 @@ def retranslateUi(self, MainWindow):
484504
self.textEditMessage.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
485505
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
486506
"p, li { white-space: pre-wrap; }\n"
487-
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
488-
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", None))
507+
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
508+
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"><br /></p></body></html>", None))
489509
self.label.setText(_translate("MainWindow", "To:", None))
490510
self.label_2.setText(_translate("MainWindow", "From:", None))
491511
self.radioButtonBroadcast.setText(_translate("MainWindow", "Broadcast to everyone who is subscribed to your address", None))

src/bitmessageqt/bitmessageui.ui

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<string>Bitmessage</string>
1515
</property>
1616
<property name="windowIcon">
17-
<iconset>
17+
<iconset resource="bitmessage_icons.qrc">
1818
<normaloff>:/newPrefix/images/can-icon-24px.png</normaloff>:/newPrefix/images/can-icon-24px.png</iconset>
1919
</property>
2020
<property name="tabShape">
@@ -70,7 +70,7 @@
7070
</property>
7171
<widget class="QWidget" name="inbox">
7272
<attribute name="icon">
73-
<iconset>
73+
<iconset resource="bitmessage_icons.qrc">
7474
<normaloff>:/newPrefix/images/inbox.png</normaloff>:/newPrefix/images/inbox.png</iconset>
7575
</attribute>
7676
<attribute name="title">
@@ -193,7 +193,7 @@
193193
</widget>
194194
<widget class="QWidget" name="send">
195195
<attribute name="icon">
196-
<iconset>
196+
<iconset resource="bitmessage_icons.qrc">
197197
<normaloff>:/newPrefix/images/send.png</normaloff>:/newPrefix/images/send.png</iconset>
198198
</attribute>
199199
<attribute name="title">
@@ -351,7 +351,7 @@ p, li { white-space: pre-wrap; }
351351
</widget>
352352
<widget class="QWidget" name="sent">
353353
<attribute name="icon">
354-
<iconset>
354+
<iconset resource="bitmessage_icons.qrc">
355355
<normaloff>:/newPrefix/images/sent.png</normaloff>:/newPrefix/images/sent.png</iconset>
356356
</attribute>
357357
<attribute name="title">
@@ -428,7 +428,7 @@ p, li { white-space: pre-wrap; }
428428
</widget>
429429
<widget class="QWidget" name="youridentities">
430430
<attribute name="icon">
431-
<iconset>
431+
<iconset resource="bitmessage_icons.qrc">
432432
<normaloff>:/newPrefix/images/identities.png</normaloff>:/newPrefix/images/identities.png</iconset>
433433
</attribute>
434434
<attribute name="title">
@@ -528,7 +528,7 @@ p, li { white-space: pre-wrap; }
528528
</widget>
529529
<widget class="QWidget" name="subscriptions">
530530
<attribute name="icon">
531-
<iconset>
531+
<iconset resource="bitmessage_icons.qrc">
532532
<normaloff>:/newPrefix/images/subscriptions.png</normaloff>:/newPrefix/images/subscriptions.png</iconset>
533533
</attribute>
534534
<attribute name="title">
@@ -613,7 +613,7 @@ p, li { white-space: pre-wrap; }
613613
</widget>
614614
<widget class="QWidget" name="addressbook">
615615
<attribute name="icon">
616-
<iconset>
616+
<iconset resource="bitmessage_icons.qrc">
617617
<normaloff>:/newPrefix/images/addressbook.png</normaloff>:/newPrefix/images/addressbook.png</iconset>
618618
</attribute>
619619
<attribute name="title">
@@ -695,7 +695,7 @@ p, li { white-space: pre-wrap; }
695695
</widget>
696696
<widget class="QWidget" name="blackwhitelist">
697697
<attribute name="icon">
698-
<iconset>
698+
<iconset resource="bitmessage_icons.qrc">
699699
<normaloff>:/newPrefix/images/blacklist.png</normaloff>:/newPrefix/images/blacklist.png</iconset>
700700
</attribute>
701701
<attribute name="title">
@@ -787,7 +787,7 @@ p, li { white-space: pre-wrap; }
787787
</widget>
788788
<widget class="QWidget" name="networkstatus">
789789
<attribute name="icon">
790-
<iconset>
790+
<iconset resource="bitmessage_icons.qrc">
791791
<normaloff>:/newPrefix/images/networkstatus.png</normaloff>:/newPrefix/images/networkstatus.png</iconset>
792792
</attribute>
793793
<attribute name="title">
@@ -806,7 +806,7 @@ p, li { white-space: pre-wrap; }
806806
<string/>
807807
</property>
808808
<property name="icon">
809-
<iconset>
809+
<iconset resource="bitmessage_icons.qrc">
810810
<normaloff>:/newPrefix/images/redicon.png</normaloff>:/newPrefix/images/redicon.png</iconset>
811811
</property>
812812
<property name="flat">

0 commit comments

Comments
 (0)