Third wizard page for selecting a template. More...
#include <fileuploadwizard.h>
Public Member Functions | |
TemplateSelectionPage (QWidget *parent=0) | |
void | setLayout (WizardColumnLayout *layout) |
WizardColumnLayout * | layout () const |
Third wizard page for selecting a template.
Implemented as one of the 6 wizard pages.
TemplateSelectionPage::TemplateSelectionPage | ( | QWidget * | parent = 0 |
) |
: FileUploadWizardPage(parent) { setTitle("Template selection"); setSubTitle("Chose or make a template to upload files with.\n"); QLabel *importantLabel = new QLabel("ATTENTION! Chose the predefiend template to " "be used with the selected files. " "If no such template exists, click \"New Template\" " "to make a new one." "You can also delete a template by selecting one and " "pressing the delete button."); importantLabel->setWordWrap(true); setLayout(new WizardColumnLayout(importantLabel)); }
WizardColumnLayout * TemplateSelectionPage::layout | ( | ) | const |
{ return dynamic_cast<WizardColumnLayout*>(FileUploadWizardPage::layout()); }
void TemplateSelectionPage::setLayout | ( | WizardColumnLayout * | layout | ) |
Referenced by TemplateSelectionPage().
{ FileUploadWizardPage::setLayout(layout); }