Classes |
Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
Media::Sound::WaveformComputerImpl Struct Reference
Classes | |
struct | LoopWrapper |
struct | QPainterCleanup |
struct | SizeInfos |
Public Member Functions | |
bool | initImages (QVector< QImage * > &images, const SizeInfos &infos) const noexcept |
bool | initImages (QVector< QImage * > &images, const SizeInfos &infos, QPainter *p, QPainterCleanup &_) const noexcept |
void | compute_mean_absmax (const SizeInfos infos) |
bool | check_abort (int64_t x_samples) const noexcept |
void | compute_mean_minmax (const SizeInfos infos) |
void | compute_sample (const SizeInfos infos) |
void | compute () |
Public Attributes | |
struct Media::Sound::WaveformComputerImpl::LoopWrapper | handle |
const WaveformRequest & | request |
int64_t | redraw_number |
WaveformComputer & | computer |
QImagePool & | pool = QImagePool::instance() |
const QPen | orange_pen |
const QPen | gray_pen |
const unsigned int | main_color = request.colors ? orange : gray |
const QPen & | main_pen = request.colors ? orange_pen : gray_pen |
Static Public Attributes | |
static constexpr const auto | orange = qRgba(250, 180, 15, 255) |
static constexpr const auto | gray = qRgba(20, 81, 120, 255) |
Member Data Documentation
◆ gray_pen
const QPen Media::Sound::WaveformComputerImpl::gray_pen |
Initial value:
= [] {
QPen p;
p.setColor(gray);
p.setWidth(1);
return p;
}()
◆ orange_pen
const QPen Media::Sound::WaveformComputerImpl::orange_pen |
Initial value:
= [] {
QPen p;
p.setColor(orange);
p.setWidth(1);
return p;
}()
The documentation for this struct was generated from the following file:
- WaveformComputer.cpp