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