mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-20 13:50:01 +01:00
color dialog
This commit is contained in:
@@ -7,7 +7,6 @@ ChromaWindow::ChromaWindow(QWidget *parent) : QDialog(parent) {
|
|||||||
setWindowTitle(tr("Chroma Key"));
|
setWindowTitle(tr("Chroma Key"));
|
||||||
setWindowIcon(QPixmap(":/images/icon.png"));
|
setWindowIcon(QPixmap(":/images/icon.png"));
|
||||||
createControls();
|
createControls();
|
||||||
color_dialog = new QColorDialog(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChromaWindow::createControls() {
|
void ChromaWindow::createControls() {
|
||||||
@@ -18,4 +17,7 @@ void ChromaWindow::createControls() {
|
|||||||
|
|
||||||
void ChromaWindow::openColorSelect() {
|
void ChromaWindow::openColorSelect() {
|
||||||
|
|
||||||
|
QColor color = QColorDialog::getColor();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ public slots:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void createControls();
|
void createControls();
|
||||||
QColorDialog *color_dialog;
|
|
||||||
QPushButton *button_select;
|
QPushButton *button_select;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user