self.connect( inp, SIGNAL('inp.textChanged(QString)'),mainWindow.slot1)
self.connect(inp, SIGNAL('textChanged(QString)'), self.slot1)
self.connect(input, SIGNAL('textChanged(QString)'), self.slot1)
<Button android:id="@+id/my_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="My Text"
android:background="@drawable/mybutton_background"/>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true"
android:state_pressed="false"
android:drawable="@android:drawable/grey_button_background_focus_blue" />
<item android:state_focused="true"
android:state_pressed="true"
android:drawable="@android:drawable/grey_button_background_pressed_blue" />
<item android:state_focused="false"
android:state_pressed="true"
android:drawable="@android:drawable/grey_button_background_pressed_blue" />
<item android:drawable="@android:drawable/grey_button_background_normal" />
</selector>