some Qt codes

some Qt codes