PDA

View Full Version : window decoration cannot show caption



qtopiahooo
31st January 2007, 08:57
hi, everyone

i am sorry, my issue is related to Qtopia or Qt/embedded. few people view the Qtopia forum, so i post here. anyone could help?

i am studying qtopia2.2.0. in some applications, the phoneheader is not needed to show, we can hide it, so the window decoration of the widget can be shown. but it only show a retangle area of highlight color without caption. however, if the widget is a QDialog, the caption can be shown.

anyone knows the window decoration in qtopia?
i checked the code, it seems qpeapplication::applyStyle() function calls QApplication::qwsSetDecoration( ), whose parameter is QPEDecoration. in the case of phone version, finally it uses PhoneDecoration, but PhoneDecoration does draw TitleText. so what is the problem?

thanks in advance.

e8johan
31st January 2007, 09:17
Please, do not cross post. I'm closing this thread. Use this: http://www.qtcentre.org/forum/f-qtopia-14/t-qtopia-window-decoration-cannot-show-caption-5444.html .