Push buttons on the buttom like a tab
-
I have a QTabWidget that has 5 page. And i have a QWidget which includes 6 push buttons.
I want to add my push buttons into every page. In every page it will do the same thing. I just want to see push buttons in every page.
Like a tab on the buttom. How can i do it? -
I have a QTabWidget that has 5 page. And i have a QWidget which includes 6 push buttons.
I want to add my push buttons into every page. In every page it will do the same thing. I just want to see push buttons in every page.
Like a tab on the buttom. How can i do it?@suslucoder said in Push buttons on the buttom like a tab:
Like a tab on the buttom. How can i do it?
Simply put the tab widget and the widget with buttons into a vertical layout.
-
@suslucoder said in Push buttons on the buttom like a tab:
Like a tab on the buttom. How can i do it?
Simply put the tab widget and the widget with buttons into a vertical layout.
@jsulm Yes but, can i add push buttons into every page on tab widget? Because when i do it, the name of the buttons will change and they wont be functional until im adding slot and write smth.
-
@jsulm Yes but, can i add push buttons into every page on tab widget? Because when i do it, the name of the buttons will change and they wont be functional until im adding slot and write smth.
@suslucoder said in Push buttons on the buttom like a tab:
can i add push buttons into every page on tab widget?
Of course you can, why not?
Implement a custom widget with the buttons and add this custom widget to each tab. -
@suslucoder said in Push buttons on the buttom like a tab:
can i add push buttons into every page on tab widget?
Of course you can, why not?
Implement a custom widget with the buttons and add this custom widget to each tab.@jsulm and i will write a function for every button on every tab?
-
@jsulm and i will write a function for every button on every tab?
@suslucoder No, because you only implement this custom widget once including all the buttons and methods. You simply create as many instances as tabs...
-
@suslucoder No, because you only implement this custom widget once including all the buttons and methods. You simply create as many instances as tabs...
@jsulm Thank you