|
|
|
@ -147,6 +147,8 @@ class MyForm(settingsmixin.SMainWindow):
|
|
|
|
|
"clicked()"), self.click_pushButtonAddSubscription)
|
|
|
|
|
QtCore.QObject.connect(self.ui.pushButtonTTL, QtCore.SIGNAL(
|
|
|
|
|
"clicked()"), self.click_pushButtonTTL)
|
|
|
|
|
QtCore.QObject.connect(self.ui.pushButtonClear, QtCore.SIGNAL(
|
|
|
|
|
"clicked()"), self.click_pushButtonClear)
|
|
|
|
|
QtCore.QObject.connect(self.ui.pushButtonSend, QtCore.SIGNAL(
|
|
|
|
|
"clicked()"), self.click_pushButtonSend)
|
|
|
|
|
QtCore.QObject.connect(self.ui.pushButtonFetchNamecoinID, QtCore.SIGNAL(
|
|
|
|
@ -1840,7 +1842,6 @@ class MyForm(settingsmixin.SMainWindow):
|
|
|
|
|
def rerenderSubscriptions(self):
|
|
|
|
|
self.rerenderTabTreeSubscriptions()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def click_pushButtonTTL(self):
|
|
|
|
|
QtGui.QMessageBox.information(self, 'Time To Live', _translate(
|
|
|
|
|
"MainWindow", """The TTL, or Time-To-Live is the length of time that the network will hold the message.
|
|
|
|
@ -1848,6 +1849,12 @@ class MyForm(settingsmixin.SMainWindow):
|
|
|
|
|
will resend the message automatically. The longer the Time-To-Live, the
|
|
|
|
|
more work your computer must do to send the message. A Time-To-Live of four or five days is often appropriate."""), QtGui.QMessageBox.Ok)
|
|
|
|
|
|
|
|
|
|
def click_pushButtonClear(self):
|
|
|
|
|
self.ui.lineEditSubject.setText("")
|
|
|
|
|
self.ui.lineEditTo.setText("")
|
|
|
|
|
self.ui.textEditMessage.setText("")
|
|
|
|
|
self.ui.comboBoxSendFrom.setCurrentIndex(0)
|
|
|
|
|
|
|
|
|
|
def click_pushButtonSend(self):
|
|
|
|
|
encoding = 3 if QtGui.QApplication.queryKeyboardModifiers() & QtCore.Qt.ShiftModifier else 2
|
|
|
|
|
|
|
|
|
|