35class GUI_EXPORT
QgsColorDialog :
public QDialog,
private Ui::QgsColorDialogBase
49 const QColor &color = QColor() );
61 void setTitle(
const QString &title );
68 void setAllowOpacity(
bool allowOpacity );
78 static QColor getColor(
const QColor &initialColor, QWidget *parent,
const QString &title = QString(),
79 bool allowOpacity =
false );
95 void setColor(
const QColor &color );
99 void closeEvent( QCloseEvent *e )
override;
103 void mButtonBox_accepted();
104 void mButtonBox_rejected();
105 void mButtonBox_clicked( QAbstractButton *button );
111 QColor mPreviousColor;
113 bool mAllowOpacity =
true;