From 4a227e0523391bc026bf96c3c31d44a39cac1701 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 7 Oct 2025 14:32:48 -0400 Subject: [WARP] Format UI plugin --- plugins/warp/ui/shared/fetchdialog.h | 48 +++++++++++++++++------------------- 1 file changed, 22 insertions(+), 26 deletions(-) (limited to 'plugins/warp/ui/shared/fetchdialog.h') diff --git a/plugins/warp/ui/shared/fetchdialog.h b/plugins/warp/ui/shared/fetchdialog.h index a99eef19..c642d31e 100644 --- a/plugins/warp/ui/shared/fetchdialog.h +++ b/plugins/warp/ui/shared/fetchdialog.h @@ -13,49 +13,45 @@ class WarpFetchDialog : public QDialog { - Q_OBJECT + Q_OBJECT - QComboBox *m_containerCombo; + QComboBox* m_containerCombo; - QListWidget *m_tagsList; - QPushButton *m_addTagBtn; - QPushButton *m_removeTagBtn; - QPushButton *m_resetTagBtn; + QListWidget* m_tagsList; + QPushButton* m_addTagBtn; + QPushButton* m_removeTagBtn; + QPushButton* m_resetTagBtn; - QSpinBox *m_batchSize; - QCheckBox *m_rerunMatcher; - QCheckBox *m_clearProcessed; + QSpinBox* m_batchSize; + QCheckBox* m_rerunMatcher; + QCheckBox* m_clearProcessed; - std::vector > m_containers; + std::vector> m_containers; - std::shared_ptr m_fetchProcessor; - BinaryViewRef m_bv; + std::shared_ptr m_fetchProcessor; + BinaryViewRef m_bv; public: - explicit WarpFetchDialog(BinaryViewRef bv, - std::shared_ptr fetchProcessor, - QWidget *parent = nullptr); + explicit WarpFetchDialog(BinaryViewRef bv, std::shared_ptr fetchProcessor, QWidget* parent = nullptr); private slots: - void onAddTag(); + void onAddTag(); - void onRemoveTag(); + void onRemoveTag(); - void onResetTags(); + void onResetTags(); - void onAccept(); + void onAccept(); - void onReject(); + void onReject(); private: - void populateContainers(); + void populateContainers(); - std::vector collectTags() const; + std::vector collectTags() const; - void runBatchedFetch(const std::optional &containerIndex, - const std::vector &allowedTags, - size_t batchSize, - bool rerunMatcher); + void runBatchedFetch(const std::optional& containerIndex, const std::vector& allowedTags, + size_t batchSize, bool rerunMatcher); }; void RegisterWarpFetchFunctionsCommand(); -- cgit v1.3.1