qmlfrontend/Page1.qml
author nemo
Fri, 13 Apr 2018 13:03:51 -0400
changeset 13327 b77a9380dd0f
parent 12859 28cb18c5e712
child 12863 0c6fb706f747
child 14148 745c73e0e644
permissions -rw-r--r--
QT for some reason messes with XCompose causing broken input (Qt 5 only - Qt 4 did not break anything). In Qt 5.2 and 5.3 this was causing an invalid conversion in chat messages containing these resulting in the bad bytes being stripped. In Qt 5.9 it is still broken, but you at least get a string with something in it. This checks for non-zero converted strings for room creation and chat lines.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     2
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
Page1Form {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
  button1.onClicked: {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
    console.log("Button Pressed. Entered text: " + textField1.text);
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
  }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
}