mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Add context menu to preview
Includes the ability to disable the preview and general source context menu options (add/remove/filters/properties/etc)
This commit is contained in:
@@ -225,6 +225,8 @@ public:
|
||||
|
||||
void ReorderSceneItem(obs_sceneitem_t *item, size_t idx);
|
||||
|
||||
void CreateSourcePopupMenu(QListWidgetItem *item, bool preview);
|
||||
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent *event) override;
|
||||
virtual void changeEvent(QEvent *event) override;
|
||||
@@ -286,6 +288,10 @@ private slots:
|
||||
void on_recordButton_clicked();
|
||||
void on_settingsButton_clicked();
|
||||
|
||||
void on_preview_customContextMenuRequested(const QPoint &pos);
|
||||
void on_previewDisabledLabel_customContextMenuRequested(
|
||||
const QPoint &pos);
|
||||
|
||||
void logUploadFinished();
|
||||
|
||||
void updateFileFinished();
|
||||
@@ -303,6 +309,8 @@ private slots:
|
||||
void OpenSceneFilters();
|
||||
void OpenFilters();
|
||||
|
||||
void TogglePreview();
|
||||
|
||||
public:
|
||||
explicit OBSBasic(QWidget *parent = 0);
|
||||
virtual ~OBSBasic();
|
||||
|
||||
Reference in New Issue
Block a user