Skip to content
Snippets Groups Projects
Commit 8ad1f92e authored by Baton Théau's avatar Baton Théau
Browse files

Ajout du color picker par merge

parent 1ef0795b
No related branches found
No related tags found
1 merge request!1Dev
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <QPushButton> #include <QPushButton>
#include <QPushButton> #include <QPushButton>
#include <QKeyEvent> #include <QKeyEvent>
ColorPickerWidget::ColorPickerWidget(QWidget *parent) ColorPickerWidget::ColorPickerWidget(QWidget *parent)
: QWidget(parent) { : QWidget(parent) {
QVBoxLayout *layout = new QVBoxLayout(this); QVBoxLayout *layout = new QVBoxLayout(this);
......
...@@ -32,7 +32,6 @@ MainWindow::MainWindow(QWidget * parent) ...@@ -32,7 +32,6 @@ MainWindow::MainWindow(QWidget * parent)
QObject::connect(this->_remove_selectable_element, SIGNAL(released()), this->_fileselectorManager, SLOT(removeSelectedItem())); QObject::connect(this->_remove_selectable_element, SIGNAL(released()), this->_fileselectorManager, SLOT(removeSelectedItem()));
QObject::connect(this->_add_selectable_element, SIGNAL(released()), this->_fileselectorManager, SLOT(pushItem())); QObject::connect(this->_add_selectable_element, SIGNAL(released()), this->_fileselectorManager, SLOT(pushItem()));
<<<<<<< HEAD
ColorWindow = findChild<QPushButton*>("ColorWindow"); ColorWindow = findChild<QPushButton*>("ColorWindow");
// Connect the button's clicked signal to the openColorPicker slot // Connect the button's clicked signal to the openColorPicker slot
...@@ -42,9 +41,9 @@ MainWindow::MainWindow(QWidget * parent) ...@@ -42,9 +41,9 @@ MainWindow::MainWindow(QWidget * parent)
ctrlCAction->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_C)); // Change the shortcut ctrlCAction->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_C)); // Change the shortcut
connect(ctrlCAction, &QAction::triggered, this, &MainWindow::handleCtrlCKey); connect(ctrlCAction, &QAction::triggered, this, &MainWindow::handleCtrlCKey);
addAction(ctrlCAction); addAction(ctrlCAction);
=======
qDebug() << "Mark_2"; qDebug() << "Mark_2";
>>>>>>> dev
this->_viewManager = new ui::ViewManager(this->_fileselectorManager, this->_imageTabs); this->_viewManager = new ui::ViewManager(this->_fileselectorManager, this->_imageTabs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment