OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> QToolBar isn't dockable
simonqu
post Aug 12 2004, 03:11 PM
Post #1





Group: Members
Posts: 3
Joined: 12-August 04
Member No.: 4,272



I'm developing an application for sharp zaurus 5600 and encontered a QToolBar related problem. The program is working fine in my PC. When tranfered to PDA, the QToolBar isn't dockable. Any body here can help me?

#include <qapplication.h>
#include <qtoolbar.h>
#include<qwhatsthis.h>

class SmMainWin_QT:pulic QMainWindow
{
public:
SmMainWin_QT();
}
SmMainWin_QT::SmMainWin_QT():QMainWindow(0, "test")
{
resize(235, 315);
QToolBar * tool_bar = newQToolBar(this);
addToolBar(tool_bar, Minimized);
(void)QWhatsThis::WhatsThisButton(tool_bar);
}

int main(int argc, **argv)
{
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
simonqu
post Aug 13 2004, 07:51 AM
Post #2





Group: Members
Posts: 3
Joined: 12-August 04
Member No.: 4,272



The "Minimized" Option make the tool bar folded at first place not unvible. If you take it off, the toolbar is unfolded as usual.

Dayong
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2014 - 05:55 AM