代码拉取完成,页面将自动刷新
#ifndef FORMLAYERTOOLS_H
#define FORMLAYERTOOLS_H
#include <QWidget>
#include <QScrollBar>
#include "VideoSynthesizer.h"
namespace Ui {
class FormLayerTools;
}
class FormLayerTools : public QWidget
{
Q_OBJECT
public:
explicit FormLayerTools(QWidget *parent = nullptr);
virtual~FormLayerTools() override;
void setCurrLayer(BaseLayer* layer);
void setStyleIsLeft(bool isLeft);
void refreshLayers(VideoSynthesizer* videoObj);
bool windowIsPeg();
bool event(QEvent *event) override;
void setFixedWindow(bool fixed);
virtual void timerEvent(QTimerEvent* event) override;
private slots:
void on_pushButtonRemove_clicked();
void on_pushButtonFullScreen_clicked(bool checked);
void on_pushButtonAspratio_clicked(bool checked);
void on_pushButtonMoveUp_clicked();
void on_pushButtonMoveDown_clicked();
void on_spinBoxX_valueChanged(int arg1);
void on_spinBoxY_valueChanged(int arg1);
void on_spinBoxW_valueChanged(int arg1);
void on_spinBoxH_valueChanged(int arg1);
void on_listLayersSelect_currentRowChanged(const QModelIndex& current, const QModelIndex& previous);
void on_pushButtonDing_clicked(bool checked);
void on_horizontalSliderHue_valueChanged(int value);
void on_checkBoxTinting_clicked(bool checked);
void on_horizontalSliderSaturability_valueChanged(int value);
void on_horizontalSliderLuminance_valueChanged(int value);
void on_horizontalSliderContrast_valueChanged(int value);
void on_horizontalSliderTransparence_valueChanged(int value);
void on_groupBox_ImageColor_clicked(bool checked);
public slots:
void on_layerAdded(BaseLayer* layer);
void on_layerRemoved(BaseLayer* layer);
void on_selectLayer(BaseLayer* layer);
void on_layerMoved(BaseLayer* layer);
private:
Ui::FormLayerTools *ui;
VideoSynthesizer* m_video = nullptr;
BaseLayer* m_layer = nullptr;
int32_t m_posChangeByProg = 0;
bool m_curLayerIsVisabled = false;
int32_t findLayerItem(BaseLayer* layer);
void resetButStatus();
signals:
void selectLayer(BaseLayer* layer);
};
#endif // FORMLAYERTOOLS_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。