mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2014-10-09 Fred Gleason <fredg@paravelsystems.com>
* Implemented the 'RDXPORT_COMMAND_AUDIOSTORE' web API call in 'web/rdxport/audiostore.cpp', 'web/rdxport/rdxport.cpp' and 'web/rdxport/rdxport.h'. * Added an 'RDAudioStore' class in 'lib/rdaudiostore.cpp' and 'lib/rdaudiostore.h'. * Modified the Desk Gauge widget in 'rdlibrary/disk_gauge.cpp' and 'rdlibrary/disk_gauge.h' to use the 'RDAudioStore' class [fixes GitHub issue #000035].
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <qlabel.h>
|
||||
#include <qtimer.h>
|
||||
#include <qprogressbar.h>
|
||||
|
||||
#define DISK_GAUGE_UPDATE_INTERVAL 60000
|
||||
@@ -44,12 +45,12 @@ class DiskGauge : public QWidget
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
|
||||
private:
|
||||
int GetMinutes(long blocks,long block_size);
|
||||
QLabel *disk_label;
|
||||
QProgressBar *disk_bar;
|
||||
QLabel *disk_space_label;
|
||||
double disk_sample_rate;
|
||||
double disk_channels;
|
||||
QTimer *disk_timer;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user