Files
flameshot/src/widgets/capturelauncher.h
borgmanJeremy af1b895fe2 Rewrote launcher to use a qt designer file. Removed some code related to (#2338)
dragging the launcher corner as it didnt seem to do anything. Cleaned up
clang format suggestions.
2022-01-29 12:06:34 -06:00

31 lines
595 B
C++

// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2017-2018 Alejandro Sirgo Rica & Contributors
#pragma once
#include <QDialog>
QT_BEGIN_NAMESPACE
namespace Ui {
class CaptureLauncher;
}
QT_END_NAMESPACE
class CaptureLauncher : public QDialog
{
Q_OBJECT
public:
explicit CaptureLauncher(QDialog* parent = nullptr);
~CaptureLauncher();
private:
Ui::CaptureLauncher* ui;
void connectCaptureSlots() const;
void disconnectCaptureSlots() const;
private slots:
void startCapture();
void captureTaken(QPixmap p);
void captureFailed();
};