120 indicating to set the date, a flag indicating to use the |
120 indicating to set the date, a flag indicating to use the |
121 current date and the date (string, string, (boolean, boolean, string), |
121 current date and the date (string, string, (boolean, boolean, string), |
122 (boolean, boolean, string)) |
122 (boolean, boolean, string)) |
123 """ |
123 """ |
124 userData = (self.userGroup.isChecked(), |
124 userData = (self.userGroup.isChecked(), |
125 self.currentUserCheckBox.isChecked(), |
125 self.currentUserCheckBox.isChecked(), |
126 self.userEdit.text()) |
126 self.userEdit.text()) |
127 dateData = (self.dateGroup.isChecked(), |
127 dateData = (self.dateGroup.isChecked(), |
128 self.currentDateCheckBox.isChecked(), |
128 self.currentDateCheckBox.isChecked(), |
129 self.dateTimeEdit.dateTime().toString("yyyy-MM-dd hh:mm")) |
129 self.dateTimeEdit.dateTime().toString("yyyy-MM-dd hh:mm")) |
130 return (self.nameEdit.text(), self.messageEdit.toPlainText(), |
130 return (self.nameEdit.text(), self.messageEdit.toPlainText(), |
131 userData, dateData) |
131 userData, dateData) |