wip: detected width bug (channels)
This commit is contained in:
parent
46224d331c
commit
2115cdf508
5 changed files with 63 additions and 31 deletions
|
|
@ -87,7 +87,9 @@ Q_OBJECT
|
|||
public:
|
||||
SessionWidget(uint64_t idx, SessionHandler* sh, QWidget *parent /* = nullptr */);
|
||||
~SessionWidget();
|
||||
void calculateSize(uint64_t width, uint64_t height);
|
||||
void calculateSize(uint64_t width, uint64_t height);
|
||||
std::wstring getName();
|
||||
|
||||
public slots:
|
||||
void updateMainVolume(int newValue);
|
||||
void updateMute(int checked);
|
||||
|
|
@ -111,7 +113,8 @@ public:
|
|||
//QSize minimumSizeHint() const override;
|
||||
//void setMinimum(QSize minimum);
|
||||
void updateChannel(int channel);
|
||||
|
||||
uint32_t getChannelCount() const;
|
||||
|
||||
private:
|
||||
const double roundingFactor = 0.005;
|
||||
EndpointHandler* eph;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue