commit | fd52ab7f0867cb9c781a39c7fc2936b50008305f | [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 | 39237e4cf58fcf07cb38a355c7aa4e47c6fcdaf6 | |
parent | 699d740f563462d046d5f5dfb3fcf34cff7e75b8 [diff] [blame] |
add demo
diff --git a/demo/chatdialog.cpp b/demo/chatdialog.cpp new file mode 100644 index 0000000..c7d8725 --- /dev/null +++ b/demo/chatdialog.cpp
@@ -0,0 +1,9 @@ +#include <QtGui> +#include "chatdialog.h" + +ChatDialog::ChatDialog(QWidget *parent) + : QDialog(parent) +{ + setupUi(this); + lineEdit->setFocusPolicy(Qt::StrongFocus); +}