mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
26 lines
577 B
C++
26 lines
577 B
C++
#ifndef CSVSETTINGS_RESIZEABLESTACKEDWIDGET_HPP
|
|
#define CSVSETTINGS_RESIZEABLESTACKEDWIDGET_HPP
|
|
|
|
#include <QStackedWidget>
|
|
|
|
class QListWidgetItem;
|
|
|
|
namespace CSVSettings
|
|
{
|
|
class ResizeableStackedWidget : public QStackedWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ResizeableStackedWidget(QWidget *parent = 0);
|
|
|
|
///add a widget to the stacked widget
|
|
void addWidget(QWidget* pWidget);
|
|
|
|
///called whenever the stacked widget page is changed
|
|
void changePage (int, int);
|
|
};
|
|
}
|
|
|
|
#endif // CSVSETTINGS_RESIZEABLESTACKEDWIDGET_HPP
|