18#ifndef COLORPICKERITEM_H
19#define COLORPICKERITEM_H
21#include "widgets/screenselector.h"
27class ColorPickerItem :
public QObject
31 explicit ColorPickerItem(QObject *parent = 0);
34 void pickColor(QPoint initialPos = QPoint(-1, -1));
35 void colorPicked(
const QColor &color);
39 void screenSelected(
const QRect &rect);
41#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
43 void gotColorResponse(uint response,
const QVariantMap &results);
47 ScreenSelector m_selector;
49#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
50 QString m_requestPath;