16 #ifndef QGSCOMPOUNDCOLORWIDGET_H 17 #define QGSCOMPOUNDCOLORWIDGET_H 21 #include "ui_qgscompoundcolorwidget.h" 62 void setAllowAlpha(
const bool allowAlpha );
69 void currentColorChanged(
const QColor &color );
76 void setColor(
const QColor &color );
81 void setPreviousColor(
const QColor& color );
95 void on_mHueRadio_toggled(
bool checked );
96 void on_mSaturationRadio_toggled(
bool checked );
97 void on_mValueRadio_toggled(
bool checked );
98 void on_mRedRadio_toggled(
bool checked );
99 void on_mGreenRadio_toggled(
bool checked );
100 void on_mBlueRadio_toggled(
bool checked );
102 void on_mAddColorToSchemeButton_clicked();
106 void importPalette();
107 void removePalette();
110 void schemeIndexChanged(
int index );
113 void on_mAddCustomColorButton_clicked();
115 void on_mSampleButton_clicked();
116 void on_mTabWidget_currentChanged(
int index );
120 void on_mActionShowInButtons_toggled(
bool state );
126 int mLastCustomColorIndex;
139 void stopPicking(
QPoint eventPos,
const bool takeSample =
true );
155 void refreshSchemeComboBox();
162 void updateActionsForCurrentScheme();
165 #endif // QGSCOMPOUNDCOLORWIDGET_H