Hand-apply 33b76b675d747fd828aba91d9d857227cb8a8244 from master; make sure signals...
[dcpomatic.git] / src / wx / properties_dialog.h
index 03e0f01aa796ed99a5a06bb588f79bc4162d91a0..fe814f7abf341341a7ff3480f36a9f5085b730c4 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 */
 
 #include <wx/wx.h>
+#include "table_dialog.h"
 
 class Film;
 class ThreadedStaticText;
 
-class PropertiesDialog : public wxDialog
+class PropertiesDialog : public TableDialog
 {
 public:
        PropertiesDialog (wxWindow *, boost::shared_ptr<Film>);
 
 private:
        std::string frames_already_encoded () const;
-       void layout ();
 
        boost::shared_ptr<Film> _film;
-       wxFlexGridSizer* _table;
        wxStaticText* _frames;
        wxStaticText* _disk;
        ThreadedStaticText* _encoded;
+
+       boost::signals2::scoped_connection _encoded_connection;
 };