Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Last active January 24, 2018 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmarr58/d1183af9e19a175cb8901b8deef5179c to your computer and use it in GitHub Desktop.
Save esmarr58/d1183af9e19a175cb8901b8deef5179c to your computer and use it in GitHub Desktop.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMediaPlayer>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pushButton_clicked();
void on_verticalSlider_sliderMoved(int position);
private:
Ui::MainWindow *ui;
QMediaPlayer *reproductor;
};
#endif // MAINWINDOW_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment