Cutey
22nd July 2008, 06:29
Hi Folks,
I'm trying to implement Status Bar in a SUB WINDOW.
The problem is the expected messages are not displaying in the Status Bar.
Constructor Code:
QVBoxLayout *mainLayout = new QVBoxLayout;
QCheckBox checkbox = new QCheckBox(tr("Item #01"));
checkbox->setToolTip( tr("This is the Tool Tip for Check Box") );
checkbox->setStatusTip( tr("This is the status tip for Check Box ") );
mainLayout->addWidget(checkbox);
QWidget *stBar = new QStatusBar(this);
stBar->setBaseSize(100,200);
mainLayout->addWidget(stBar);
In the above code I could see the Tool Tip but not the Status Bar.
Any Help/Suggestions ..???
Thanks in Advance..........
I'm trying to implement Status Bar in a SUB WINDOW.
The problem is the expected messages are not displaying in the Status Bar.
Constructor Code:
QVBoxLayout *mainLayout = new QVBoxLayout;
QCheckBox checkbox = new QCheckBox(tr("Item #01"));
checkbox->setToolTip( tr("This is the Tool Tip for Check Box") );
checkbox->setStatusTip( tr("This is the status tip for Check Box ") );
mainLayout->addWidget(checkbox);
QWidget *stBar = new QStatusBar(this);
stBar->setBaseSize(100,200);
mainLayout->addWidget(stBar);
In the above code I could see the Tool Tip but not the Status Bar.
Any Help/Suggestions ..???
Thanks in Advance..........