Hi
I am trying to add line in a layout through coding, but i do not find name of line class.I am trying to add line which are present in qt designer toolbox.
please tell me how to add them in a layout.
One more thing when i am adding space in a gridlayout , it does not effect anything in display.
My code for adding space is
grid->addItem(spacerItem, 4, 0, 4, 1);
QSpacerItem *spacerItem = new QSpacerItem(300, 20, QSizePolicy::Expanding);
grid->addItem(spacerItem, 4, 0, 4, 1);
To copy to clipboard, switch view to plain text mode
Actually i want to leave first column of layout blank.
Bookmarks