36class GUI_EXPORT
QgsColorDialog :
public QDialog,
private Ui::QgsColorDialogBase
50 const QColor &color = QColor() );
62 void setTitle(
const QString &title );
70 void setAllowOpacity(
bool allowOpacity );
80 static QColor getColor(
const QColor &initialColor, QWidget *parent,
const QString &title = QString(),
81 bool allowOpacity =
false );
97 void setColor(
const QColor &color );
101 void closeEvent( QCloseEvent *e )
override;
105 void mButtonBox_accepted();
106 void mButtonBox_rejected();
107 void mButtonBox_clicked( QAbstractButton *button );
113 QColor mPreviousColor;
115 bool mAllowOpacity =
true;