mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 12:32:37 -04:00
Added very very basic functionality to the BlogDialog.
Still learning here. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
26d2def720
commit
9b4ee77dd3
3 changed files with 17 additions and 362 deletions
|
@ -27,7 +27,19 @@ BlogDialog::BlogDialog(QWidget *parent)
|
|||
: MainPage (parent)
|
||||
{
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
ui.setupUi(this);
|
||||
setupUi(this);
|
||||
|
||||
connect(Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg()));
|
||||
|
||||
}
|
||||
|
||||
void BlogDialog::sendMsg()
|
||||
{
|
||||
QString msg = lineEdit->toPlainText();
|
||||
|
||||
/* Write text into windows */
|
||||
msgText->append(msg);
|
||||
|
||||
/* Clear lineEdit */
|
||||
lineEdit->clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue