Public Member Functions

FileSelectionPage Class Reference
[File Upload Wizard Pages]

Second wizard page for selecting files to upload. More...

#include <fileuploadwizard.h>

Inheritance diagram for FileSelectionPage:
Inheritance graph
[legend]
Collaboration diagram for FileSelectionPage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FileSelectionPage (QWidget *parent=0)
void setLayout (WizardColumnLayout *layout)
WizardColumnLayoutlayout () const

Detailed Description

Second wizard page for selecting files to upload.

Implemented as one of the 6 wizard pages.


Constructor & Destructor Documentation

FileSelectionPage::FileSelectionPage ( QWidget parent = 0  ) 

                                                              : FileUploadWizardPage(parent)
{
    setTitle("File selection");
    setSubTitle("Select all the files you wish to upload.");
    QLabel *importantLabel = new QLabel("ATTENTION! Make sure the files you select are from the same source!"
                                        "(i.e. logger, etc.)"
                                        "\n\n"
                                        "You can remove files by selecting them and pressing the \"delete\" button."
                                        "\n\n"
                                        "NOTE on colors:\n"
                                        "Green: file has never been successfully uploaded\n"
                                        "Yellow: file has once been successfully uploaded\n"
                                        "Red: uploader failed to upload the file"
                                        "\n\n"
                                        "Doubleclick for preview in wordpad.");
    importantLabel->setWordWrap(true);

    addFilesButton = new QPushButton("Add files", this);
    addFilesButton->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
    setLayout(new WizardColumnLayout(importantLabel, addFilesButton));
}


Member Function Documentation

WizardColumnLayout * FileSelectionPage::layout (  )  const

{
    return dynamic_cast<WizardColumnLayout*>(FileUploadWizardPage::layout());
}

void FileSelectionPage::setLayout ( WizardColumnLayout layout  ) 

The documentation for this class was generated from the following files: