1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-22 07:53:51 +00:00
openmw-tes3mp/apps/opencs/view/settings/resizeablestackedwidget.hpp

26 lines
577 B
C++
Raw Normal View History

2014-04-23 03:17:19 +00:00
#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
2014-04-23 03:17:19 +00:00
void addWidget(QWidget* pWidget);
///called whenever the stacked widget page is changed
2014-04-23 03:17:19 +00:00
void changePage (int, int);
};
}
#endif // CSVSETTINGS_RESIZEABLESTACKEDWIDGET_HPP