Advertisement
Guest User

Example 2 (tunneling)

a guest
Jun 25th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.32 KB | None | 0 0
  1. import QtQuick 2.5
  2. import QtQuick.Window 2.2
  3. import QtQuick.Controls 1.4
  4.  
  5. Window {
  6.     visible: true
  7.     width: 640
  8.     height: 480
  9.     title: qsTr("Hello World")
  10.  
  11.     ComboBox {
  12.         focus: true
  13.         activeFocusOnPress: true
  14.         model: 2
  15.         Keys.onPressedPreview: event.accepted = true
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement