QgsExpressionLineEdit - includes a line edit for entering expressions together with a button to open the expression creation dialog. This widget is designed for use in contexts where no layer fields are available for use in an expression and space is constrained.
QgsTabWidget - similar to QTabWidget but with additional methods to temporarily hide/show tabs
Click the image to open original size image in new tab