diff options
Diffstat (limited to 'IrcChannelForm.ui.qml')
-rw-r--r-- | IrcChannelForm.ui.qml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/IrcChannelForm.ui.qml b/IrcChannelForm.ui.qml index d1f5e59..eba1072 100644 --- a/IrcChannelForm.ui.qml +++ b/IrcChannelForm.ui.qml @@ -18,7 +18,7 @@ Item { height: 411 x: 8 y: 8 - TextArea { + TextArea.flickable: TextArea { objectName: "chat_area" id: textArea x: 8 @@ -44,6 +44,7 @@ Item { selectByMouse: true Keys.onEnterPressed: send_to_irc() Keys.onReturnPressed: send_to_irc() + Keys.onTabPressed: textField.text = "bla" } @@ -60,10 +61,11 @@ Item { height: 20 Text { text: name + property string nick anchors.verticalCenter: parent.verticalCenter - font.bold: true + font.bold: false font.family: "Source Code Pro" - font.pointSize: 11 + font.pointSize: 9 } } @@ -71,13 +73,13 @@ Item { id: nickListModel } - function add_nick(nick){ - nickListModel.append({name: nick}) + function add_nick(nick, mode){ + nickListModel.append({name: '<b>'+mode+'</b>'+nick, nick: nick}) } function remove_nick(nick){ for (var i = 0; i < nickListModel.count; ++i) { - if (nickListModel.get(i).name === nick) { + if (nickListModel.get(i).nick === nick) { nickListModel.remove(i) } } |