35class GUI_EXPORT
QgsColorDialog :
public QDialog,
private Ui::QgsColorDialogBase
58 void setTitle(
const QString &title );
65 void setAllowOpacity(
bool allowOpacity );
75 static QColor getColor(
const QColor &initialColor, QWidget *parent,
const QString &title = QString(),
bool allowOpacity =
false );
91 void setColor(
const QColor &color );
94 void closeEvent( QCloseEvent *e )
override;
98 void mButtonBox_accepted();
99 void mButtonBox_rejected();
100 void mButtonBox_clicked( QAbstractButton *button );
105 QColor mPreviousColor;
107 bool mAllowOpacity =
true;