mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-15 11:20:01 +01:00
dialog
This commit is contained in:
@@ -4,10 +4,20 @@ CaptureCamera::CaptureCamera(QWidget *parent) : QDialog(parent) {
|
|||||||
setFixedSize(640, 480);
|
setFixedSize(640, 480);
|
||||||
setWindowTitle("Capture from Webcam");
|
setWindowTitle("Capture from Webcam");
|
||||||
setWindowIcon(QPixmap(":/images/icon.png"));
|
setWindowIcon(QPixmap(":/images/icon.png"));
|
||||||
|
createControls();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CaptureCamera::createControls() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CaptureVideo::CaptureVideo(QWidget *parent) : QDialog(parent) {
|
CaptureVideo::CaptureVideo(QWidget *parent) : QDialog(parent) {
|
||||||
setFixedSize(640, 480);
|
setFixedSize(640, 480);
|
||||||
setWindowTitle(("Capture from Video"));
|
setWindowTitle(("Capture from Video"));
|
||||||
setWindowIcon(QPixmap(":/images/icon.png"));
|
setWindowIcon(QPixmap(":/images/icon.png"));
|
||||||
|
createControls();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CaptureVideo::createControls() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,12 +8,14 @@ class CaptureCamera : public QDialog {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
CaptureCamera(QWidget *parent = 0);
|
CaptureCamera(QWidget *parent = 0);
|
||||||
|
void createControls();
|
||||||
};
|
};
|
||||||
|
|
||||||
class CaptureVideo : public QDialog {
|
class CaptureVideo : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
CaptureVideo(QWidget *parent = 0);
|
CaptureVideo(QWidget *parent = 0);
|
||||||
|
void createControls();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user