Motiv
Marvelous OTF2 Traces Interactive Visualizer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RecentFilesDialog Class Reference

A dialog that displays an open button and previously opened trace files. More...

#include <RecentFilesDialog.hpp>

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

Public Member Functions

 RecentFilesDialog (QString *dest)
 

Detailed Description

A dialog that displays an open button and previously opened trace files.

On QDialog::Accept the reference supplied in the constructor is updated to the selected path.

QString myPath;
RecentFilesDialog dialog(&myPath);
if (dialog.exec() == QDialog::Accepted)
std::cout << "Path supplied: " << myPath << std::endl;
else
std::cout << "No path supplied" << std::endl;
A dialog that displays an open button and previously opened trace files.

Definition at line 39 of file RecentFilesDialog.hpp.

Constructor & Destructor Documentation

◆ RecentFilesDialog()

RecentFilesDialog::RecentFilesDialog ( QString *  dest)
Parameters
destvariable to write the result to.

Definition at line 31 of file RecentFilesDialog.cpp.


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