13#ifndef STREAMS_RECORDINGS_TAB_H
14#define STREAMS_RECORDINGS_TAB_H
17#include <QTableWidget>
18#include <QFileSystemWatcher>
23#include "../ui_toolx.h"
38 explicit RecordingsTab(Ui::Dialog &ui, QWidget *parent =
nullptr);
QTableWidget * m_table
Table widget for displaying recordings.
Definition recordings_tab.h:64
QLabel * m_statusLabel
Status label showing count.
Definition recordings_tab.h:73
void deleteSelected()
Delete the selected recording(s).
Definition recordings_tab.cpp:158
QString m_recordDir
The directory containing recordings.
Definition recordings_tab.h:70
~RecordingsTab() final=default
Destroy the RecordingsTab object.
QFileSystemWatcher m_watcher
File system watcher for auto-refresh.
Definition recordings_tab.h:67
void refreshRecordings()
Refresh the recordings list from disk.
Definition recordings_tab.cpp:75
void openFolder()
Open the recordings folder in the file manager.
Definition recordings_tab.cpp:186
RecordingsTab(Ui::Dialog &ui, QWidget *parent=nullptr)
Construct a new RecordingsTab object.
Definition recordings_tab.cpp:28
void playSelected()
Play the selected recording in the default media player.
Definition recordings_tab.cpp:143
Ui::Dialog & m_ui
Reference to the main UI.
Definition recordings_tab.h:61