Workspace 6.21.5
Public Member Functions | List of all members
MeshSelectionWidget Class Reference

A modal dialog that gets the filename and reader type of a mesh model the user wants to add to a scene.

#include <Rendering/SceneInteraction/meshselectionwidget.h>

Inherits QDialog.

Public Member Functions

 MeshSelectionWidget (QWidget *parent=nullptr)
 
 ~MeshSelectionWidget () override
 
QString getFilename () const
 
QString getReaderType () const
 
void setInitialDirectory (const QString &d)
 
void setReaderType (const QString &readerType)
 

Constructor & Destructor Documentation

◆ MeshSelectionWidget()

MeshSelectionWidget ( QWidget *  parent = nullptr)

◆ ~MeshSelectionWidget()

~MeshSelectionWidget ( )
override

Member Function Documentation

◆ getFilename()

QString getFilename ( ) const
Returns
The filename of the mesh data selected by the user.

◆ getReaderType()

QString getReaderType ( ) const
Returns
The reader type as used by the SelectableMeshReader operation.

◆ setInitialDirectory()

void setInitialDirectory ( const QString &  d)

◆ setReaderType()

void setReaderType ( const QString &  readerType)

Set the reader type to be used by the SelectableMeshReader operation.