SceneDialog.h #2

  • //
  • guest/
  • sam_stafford/
  • scenesaver/
  • SceneDialog.h
  • View
  • Commits
  • Open Download .zip Download (569 B)
#include <qdialog.h>
#include <qlabel.h>
#include <qlistview.h>
#include <qtooltip.h>

class SceneDialog :
	public QDialog
{
	Q_OBJECT
public:
	SceneDialog( QWidget* w );
	~SceneDialog(void);

private slots:
	void nil() {};

	void choose_bg();

	void selected( QListViewItem* i );

	void add();
	void remove();

	void explore();
	void autoload();

	void ok();

private:
	void load_scenes();
	bool save_scenes();

	void refresh_background();

	QString bgfile;
	QLabel* background;
	QListView* scenes;

	QLabel* bg;
	QLabel* sc;

	QPushButton* del;
	QPushButton* aut;
};
# Change User Description Committed
#2 5420 Sam Stafford Have the image selection dialog pop up an error if it's unable to save
the images file - I was seeing some problems earlier.  Haven't been
able to repeat them since I put the check in, of course.  :P
#1 5296 Sam Stafford Cleaned up config dialog a little, added scenes dialog and a couple of
icons.