projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swaroop: remove on-screen log from player.
[dcpomatic.git]
/
src
/
wx
/
download_certificate_dialog.cc
diff --git
a/src/wx/download_certificate_dialog.cc
b/src/wx/download_certificate_dialog.cc
index 21a675ac70c0b74ae7d886d4e9c2a2d7ccd86470..ec9f6dade09bf3c8f6d280dad46d5d6fbe92e364 100644
(file)
--- a/
src/wx/download_certificate_dialog.cc
+++ b/
src/wx/download_certificate_dialog.cc
@@
-22,9
+22,11
@@
#include "barco_alchemy_certificate_panel.h"
#include "christie_certificate_panel.h"
#include "gdc_certificate_panel.h"
#include "barco_alchemy_certificate_panel.h"
#include "christie_certificate_panel.h"
#include "gdc_certificate_panel.h"
+#include "qube_certificate_panel.h"
#include "download_certificate_dialog.h"
#include "static_text.h"
#include "wx_util.h"
#include "download_certificate_dialog.h"
#include "static_text.h"
#include "wx_util.h"
+#include "dcpomatic_button.h"
using boost::optional;
using boost::optional;
@@
-36,7
+38,7
@@
DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
_notebook = new wxNotebook (this, wxID_ANY);
sizer->Add (_notebook, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
_notebook = new wxNotebook (this, wxID_ANY);
sizer->Add (_notebook, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
- _download = new
wxButton (this, wxID_ANY
, _("Download"));
+ _download = new
Button (this
, _("Download"));
sizer->Add (_download, 0, wxEXPAND | wxALL, DCPOMATIC_SIZER_GAP);
_message = new StaticText (this, wxT (""));
sizer->Add (_download, 0, wxEXPAND | wxALL, DCPOMATIC_SIZER_GAP);
_message = new StaticText (this, wxT (""));
@@
-50,6
+52,8
@@
DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
_pages.push_back (new BarcoAlchemyCertificatePanel (this));
_pages.push_back (new ChristieCertificatePanel (this));
_pages.push_back (new GDCCertificatePanel (this));
_pages.push_back (new BarcoAlchemyCertificatePanel (this));
_pages.push_back (new ChristieCertificatePanel (this));
_pages.push_back (new GDCCertificatePanel (this));
+ _pages.push_back (new QubeCertificatePanel (this, N_("QXI")));
+ _pages.push_back (new QubeCertificatePanel (this, N_("QXPD")));
BOOST_FOREACH (DownloadCertificatePanel* i, _pages) {
_notebook->AddPage (i, i->name(), true);
BOOST_FOREACH (DownloadCertificatePanel* i, _pages) {
_notebook->AddPage (i, i->name(), true);
@@
-68,6
+72,8
@@
DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
_notebook->SetSelection (0);
_notebook->SetSelection (0);
+ SetMinSize (wxSize(640, -1));
+
setup_sensitivity ();
}
setup_sensitivity ();
}
@@
-102,7
+108,8
@@
DownloadCertificateDialog::setup_sensitivity ()
}
void
}
void
-DownloadCertificateDialog::page_changed (wxNotebookEvent
&
)
+DownloadCertificateDialog::page_changed (wxNotebookEvent
& ev
)
{
setup_sensitivity ();
{
setup_sensitivity ();
+ ev.Skip ();
}
}