bod
1st July 2008, 11:54
I want to add a textedit widget to my window. It has a "QHBoxLayout" layout.
I'm tryin to add this textedit but I cannot. I think, it places the textedit under the treewidget.
I don't understand why.
Can u help me pls?
Here is my code:
glWidget = new GLWidget;
tree = new QTreeWidget;
tree->setHeaderLabel("Items");
qtItem = new QTreeWidgetItem(tree);
qtItem->setText(0, tr("QtLogo"));
I'm tryin to add this textedit but I cannot. I think, it places the textedit under the treewidget.
I don't understand why.
Can u help me pls?
Here is my code:
glWidget = new GLWidget;
tree = new QTreeWidget;
tree->setHeaderLabel("Items");
qtItem = new QTreeWidgetItem(tree);
qtItem->setText(0, tr("QtLogo"));