Public Member Functions | Protected Attributes | List of all members
pqSelectReaderDialog Class Reference

a dialog that prompts for a reader type to open a file More...

#include <pqSelectReaderDialog.h>

Inherits QDialog.

Public Member Functions

 pqSelectReaderDialog (const QString &file, pqServer *s, vtkSMReaderFactory *factory, QWidget *p=nullptr)
 constructor More...
 
 pqSelectReaderDialog (const QString &file, pqServer *s, vtkStringList *list, QWidget *p=nullptr)
 
 ~pqSelectReaderDialog () override
 destructor More...
 
QString getReader () const
 get the reader that was chosen to read a file More...
 
QString getGroup () const
 get the group for the chosen reader. More...
 
bool isSetAsDefault () const
 Check if the user clicked the "Set reader as default" button. More...
 

Protected Attributes

QScopedPointer< pqInternal > Internal
 

Detailed Description

a dialog that prompts for a reader type to open a file

Definition at line 19 of file pqSelectReaderDialog.h.

Constructor & Destructor Documentation

◆ pqSelectReaderDialog() [1/2]

pqSelectReaderDialog::pqSelectReaderDialog ( const QString &  file,
pqServer s,
vtkSMReaderFactory factory,
QWidget *  p = nullptr 
)

constructor

◆ pqSelectReaderDialog() [2/2]

pqSelectReaderDialog::pqSelectReaderDialog ( const QString &  file,
pqServer s,
vtkStringList list,
QWidget *  p = nullptr 
)

◆ ~pqSelectReaderDialog()

pqSelectReaderDialog::~pqSelectReaderDialog ( )
override

destructor

Member Function Documentation

◆ getReader()

QString pqSelectReaderDialog::getReader ( ) const

get the reader that was chosen to read a file

◆ getGroup()

QString pqSelectReaderDialog::getGroup ( ) const

get the group for the chosen reader.

◆ isSetAsDefault()

bool pqSelectReaderDialog::isSetAsDefault ( ) const

Check if the user clicked the "Set reader as default" button.

Member Data Documentation

◆ Internal

QScopedPointer<pqInternal> pqSelectReaderDialog::Internal
protected

Definition at line 51 of file pqSelectReaderDialog.h.


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