commit | 6d589aa0f438260871ebf0aa7615a614adcd68cc | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Tue May 29 17:34:35 2012 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue May 29 19:58:25 2012 -0700 |
tree | 819b6ff12502ca821c5da39dbcc7567f65815691 |
add demo
diff --git a/chatdialog.cpp b/chatdialog.cpp new file mode 100644 index 0000000..c7d8725 --- /dev/null +++ b/chatdialog.cpp
@@ -0,0 +1,9 @@ +#include <QtGui> +#include "chatdialog.h" + +ChatDialog::ChatDialog(QWidget *parent) + : QDialog(parent) +{ + setupUi(this); + lineEdit->setFocusPolicy(Qt::StrongFocus); +}