1 Star 0 Fork 16

Qt(开源集合) / ZenShot

forked from Gitee 极速下载 / ZenShot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
starter.h 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
leexu007 提交于 2022-09-09 17:21 . * submit bug to zentao
/* Copyright (C) 2021 Nature Easy Soft Network Technology Co., LTD
*
* This file is part of Zenshot (https://github.com/easysoft/zenshot/).
*
* Zenshot is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Zenshot is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Zenshot. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef APPINSTALL_H
#define APPINSTALL_H
#include <QObject>
#include "widget.h"
class Starter
: public QObject
{
Q_OBJECT
public:
Starter(bool exit_process);
virtual ~Starter();
void init(QWidget* parent = nullptr);
void cleanup();
void rasie();
private:
QList<Widget*>* m_widgets;
QList<Widget*>* m_unused_widgets;
signals:
void ShotDone(Starter*);
void ShotResult(std::shared_ptr<QPixmap> pixmap);
private slots:
void finishShot(int code);
void finishConfirmArea();
private:
bool m_bExit;
};
#endif // APPINSTALL_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/qt-open-source-collection/ZenShot.git
git@gitee.com:qt-open-source-collection/ZenShot.git
qt-open-source-collection
ZenShot
ZenShot
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891