Adding QTableView into QFrame
-
Yes... Its comprising of a Vertical Layout that further has a horizontal layout and TableView
@gaurav118 No, because your customTable does not have a layout...
-
@gaurav118 No, because your customTable does not have a layout...
-
Hi
The red layout you used is a floating one. its for inserting into
other layouts. As @VRonin says, you should apply a layout to custom table
to have red layout use all space available. -
@gaurav118
super :)
While the red layouts are very tempting. The most used way to apply layout is
to right click and choose one from layout menu. To further subdivide
the layout into ""sections", the red ones can be used. -
Instead of actually laying out customTable in MainWindow, i am trying to give it a sliding effect to populate the customTable object. Any help i can get?
@gaurav118
Hi
You can use
http://doc.qt.io/qt-5/animation-overview.html
for that. -
@gaurav118
Hi
You can use
http://doc.qt.io/qt-5/animation-overview.html
for that. -
@mrjj Thanks a lot... I am actually trying to figure it out. I am trying to change the height property of QFrame
@gaurav118
Hi
If you need inspiration, this does a slide out using the animation framework.
https://github.com/chrisaverage/burger-menu
Check out
void BurgerMenu::toggle(bool checked)
note that this sample animates while in a layout. -
@gaurav118
Hi
If you need inspiration, this does a slide out using the animation framework.
https://github.com/chrisaverage/burger-menu
Check out
void BurgerMenu::toggle(bool checked)
note that this sample animates while in a layout. -
@gaurav118
Super. :)
Yeah they are pretty much
seen all places nowadays.
I even have one in my new app ;)