Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
arjide committed Nov 5, 2014
1 parent 1a71bbd commit b59cac9
Show file tree
Hide file tree
Showing 7 changed files with 437 additions and 175 deletions.
2 changes: 1 addition & 1 deletion QQStars.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = QQStars
QT += widgets network webkit svg qml quick concurrent sql #widgets-private core-private gui-private
QT += widgets network webkit svg qml quick concurrent sql quick-private#widgets-private core-private gui-private

INCLUDEPATH += \
src \
Expand Down
9 changes: 5 additions & 4 deletions qml/Chat/ChatPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ Item{
anchors.bottom: parent.bottom
anchors.margins: 10
text: "发送"

property int image_index: 0
onClicked: {
inputBox.selectAll()//先选中全部
/*inputBox.selectAll()//先选中全部
var messageInfo = myinfo.getChatMessageInfoById(myinfo.getMessageIndex())
//创建一个新的聊天储存聊天内容各种信息的对象(例如发送时间等等)
messageInfo.contentData = input.selectedText
Expand All @@ -135,8 +135,9 @@ Item{
}
listModel.append(data)
inputBox.text = ""
scroll_list.contentAtEnd()//将内容放到最后

scroll_list.contentAtEnd()//将内容放到最后*/
var html = '<img width="25" src="qrc:/faces/classic/'+String(image_index++)+'.gif"'
input.append(html)
}
}

Expand Down
2 changes: 1 addition & 1 deletion qml/Chat/MessageListComponent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Component{

TextEditPlayGif{
cachePath: myqq.getMovieImageFrameCachePath()
target: mytext.textDocument
target: mytext
}
}
}
Expand Down
1 change: 0 additions & 1 deletion qml/Login/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ MyWindow{
noNotifyIcon: true//隐藏任务栏图标
windowGlow: false//是否开启阴影
color: "transparent"


function openSettingPage() {//进行设置
settings_page.enabled = true
Expand Down
Loading

0 comments on commit b59cac9

Please sign in to comment.