45 lines
951 B
C++
45 lines
951 B
C++
#ifndef GTL_GUI_PLAYER_RESAMPLING_DIALOG_H
|
|
#define GTL_GUI_PLAYER_RESAMPLING_DIALOG_H
|
|
|
|
#include "hw/gtl_hw_player.h"
|
|
|
|
#include <QDialog>
|
|
#include <QLabel>
|
|
|
|
namespace Ui {
|
|
class player_resampling_dialog;
|
|
}
|
|
|
|
namespace gtl
|
|
{
|
|
namespace gui
|
|
{
|
|
namespace player
|
|
{
|
|
class resampling_dialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit resampling_dialog(QString path, QWidget *parent = nullptr);
|
|
~resampling_dialog();
|
|
|
|
private:
|
|
Ui::player_resampling_dialog *ui;
|
|
gtl::hw::player* _player;
|
|
bool _is_playing;
|
|
QLabel* _time;
|
|
|
|
|
|
private slots:
|
|
void select_path();
|
|
void rate_changed();
|
|
void save(bool);
|
|
void playing_finished();
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif // GTL_GUI_PLAYER_RESAMPLING_DIALOG_H
|