Rabbit Remote Control
0.1.0-bate1
Loading...
Searching...
No Matches
Plugins
WebBrowser
FrmDownloadManager.h
1
#ifndef FRMDOWNLOADMANAGER_H
2
#define FRMDOWNLOADMANAGER_H
3
4
#include <QWidget>
5
#include <QVBoxLayout>
6
#include "FrmDownload.h"
7
8
class
CFrmDownloadManager
:
public
QWidget
9
{
10
Q_OBJECT
11
public
:
12
explicit
CFrmDownloadManager
(QWidget *parent =
nullptr
);
13
virtual
~CFrmDownloadManager
();
14
15
public
Q_SLOTS:
16
void
slotDownloadRequested(QWebEngineDownloadRequest *download);
17
18
Q_SIGNALS:
19
void
sigVisible(
bool
visible);
20
protected
:
21
void
showEvent(QShowEvent *event);
22
void
hideEvent(QHideEvent *event);
23
private
Q_SLOTS:
24
void
Add(
CFrmDownload
* item);
25
void
Remove(
CFrmDownload
* item);
26
void
slotSelected(
CFrmDownload
* item);
27
private
:
28
int
m_nCount;
29
QVBoxLayout* m_pItems;
30
};
31
32
#endif
// FRMDOWNLOADMANAGER_H
CFrmDownloadManager
Definition
FrmDownloadManager.h:9
CFrmDownload
Definition
FrmDownload.h:23
Author: Kang Lin (kl222@126.com)
Copyright (c) Kang Lin Studios All Rights Reserved