mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-08 08:51:00 +00:00
Added chatID label to ChatWindow
This commit is contained in:
parent
6019b36642
commit
3b58f486ec
@ -12,6 +12,7 @@ ChatWindow::ChatWindow(QString pID, QString cUUID, Handler *h, Network *n, QWidg
|
||||
handler = h;
|
||||
network = n;
|
||||
ui->peerIDLabel->setText(ui->peerIDLabel->text() + pID);
|
||||
ui->chatIDLabel->setText(ui->chatIDLabel->text() + cUUID);
|
||||
connect(ui->sendMsgButton, &QAbstractButton::clicked, this, &ChatWindow::sendMsgButtonClicked);
|
||||
}
|
||||
ChatWindow::~ChatWindow()
|
||||
|
@ -14,7 +14,7 @@
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="2" column="0" colspan="2">
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QLineEdit" name="msgEdit"/>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
@ -30,7 +30,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<item row="3" column="2">
|
||||
<widget class="QPushButton" name="sendMsgButton">
|
||||
<property name="locale">
|
||||
<locale language="English" country="UnitedStates"/>
|
||||
@ -40,13 +40,20 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="3">
|
||||
<item row="2" column="0" colspan="3">
|
||||
<widget class="QTextEdit" name="chatEdit">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="chatIDLabel">
|
||||
<property name="text">
|
||||
<string>ChatID: </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
|
Loading…
Reference in New Issue
Block a user