16 #ifndef QGSCOMPOUNDCOLORWIDGET_H    17 #define QGSCOMPOUNDCOLORWIDGET_H    22 #include "ui_qgscompoundcolorwidget.h"    69     void setAllowOpacity( 
bool allowOpacity );
   121     void currentColorChanged( 
const QColor &color );
   129     void setColor( 
const QColor &color );
   135     void setPreviousColor( 
const QColor &color );
   139     void mousePressEvent( QMouseEvent *e ) 
override;
   141     void mouseMoveEvent( QMouseEvent *e ) 
override;
   143     void mouseReleaseEvent( QMouseEvent *e ) 
override;
   149     void mHueRadio_toggled( 
bool checked );
   150     void mSaturationRadio_toggled( 
bool checked );
   151     void mValueRadio_toggled( 
bool checked );
   152     void mRedRadio_toggled( 
bool checked );
   153     void mGreenRadio_toggled( 
bool checked );
   154     void mBlueRadio_toggled( 
bool checked );
   156     void mAddColorToSchemeButton_clicked();
   158     void importPalette();
   159     void removePalette();
   162     void schemeIndexChanged( 
int index );
   163     void listSelectionChanged( 
const QItemSelection &selected, 
const QItemSelection &deselected );
   165     void mAddCustomColorButton_clicked();
   167     void mSampleButton_clicked();
   168     void mTabWidget_currentChanged( 
int index );
   172     void mActionShowInButtons_toggled( 
bool state );
   176     static QScreen *findScreenAt( QPoint pos );
   178     bool mAllowAlpha = 
true;
   180     int mLastCustomColorIndex = 0;
   182     bool mPickingColor = 
false;
   184     bool mDiscarded = 
false;
   197     void stopPicking( QPoint eventPos, 
bool takeSample = 
true );
   204     QColor averageColor( 
const QImage &image ) 
const;
   211     QColor sampleColor( QPoint point ) 
const;
   216     void refreshSchemeComboBox();
   221     static QString gplFilePath();
   224     void updateActionsForCurrentScheme();
   227 #endif // QGSCOMPOUNDCOLORWIDGET_H A color scheme which stores its colors in a gpl palette file within the "palettes" subfolder off the ...