Inherits QAbstractItemView.
|
void | setGammaEnabled (bool enabled) |
|
void | setGamma (qreal gamma) |
|
void | tryAddColor (const AZ::Color &color) |
|
|
void | selectedColorsChanged (const QVector< AZ::Color > &selectedColors) |
|
void | unselectedContextMenuRequested (const QPoint &position) |
|
|
| PaletteView (Palette *palette, Internal::ColorController *controller, QUndoStack *undoStack, QWidget *parent=nullptr) |
|
bool | isGammaEnabled () const |
|
qreal | gamma () const |
|
void | addDefaultRGBColors () |
|
void | setModel (QAbstractItemModel *model) override |
|
void | setSelectionModel (QItemSelectionModel *selectionModel) override |
|
QModelIndex | indexAt (const QPoint &point) const override |
|
void | scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) override |
|
QRect | visualRect (const QModelIndex &index) const override |
|
void | setMarginSize (const QSize &size) |
|
void | setItemSize (const QSize &size) |
|
void | setItemHorizontalSpacing (int spacing) |
|
void | setItemVerticalSpacing (int spacing) |
|
bool | contains (const AZ::Color &color) const |
|
QMenu * | contextMenu () const |
|
|
static Config | loadConfig (QSettings &settings) |
|
static Config | defaultConfig () |
|
static bool | polish (Style *style, QWidget *widget, const Config &config) |
|
static bool | drawDropIndicator (const Style *style, const QStyleOption *option, QPainter *painter, const QWidget *widget, const Config &config) |
|
|
void | handleSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
|
|
QSize | sizeHint () const override |
|
QSize | minimumSizeHint () const override |
|
int | horizontalOffset () const override |
|
int | verticalOffset () const override |
|
QModelIndex | moveCursor (QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override |
|
void | updateGeometries () override |
|
bool | isIndexHidden (const QModelIndex &index) const override |
|
void | setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) override |
|
QRegion | visualRegionForSelection (const QItemSelection &selection) const override |
|
void | paintEvent (QPaintEvent *event) override |
|
void | rowsInserted (const QModelIndex &parent, int start, int end) override |
|
void | rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) override |
|
void | resizeEvent (QResizeEvent *event) override |
|
void | mousePressEvent (QMouseEvent *event) override |
|
void | mouseReleaseEvent (QMouseEvent *event) override |
|
void | contextMenuEvent (QContextMenuEvent *event) override |
|
void | startDrag (Qt::DropActions supportedActions) override |
|
void | dragEnterEvent (QDragEnterEvent *event) override |
|
void | dragMoveEvent (QDragMoveEvent *event) override |
|
void | dragLeaveEvent (QDragLeaveEvent *event) override |
|
void | dropEvent (QDropEvent *event) override |
|
|
bool | gammaEnabled |
|
qreal | gamma |
|
◆ defaultConfig()
static Config AzQtComponents::PaletteView::defaultConfig |
( |
| ) |
|
|
static |
Returns default palette view config data.
◆ loadConfig()
static Config AzQtComponents::PaletteView::loadConfig |
( |
QSettings & |
settings | ) |
|
|
static |
Loads the palette view config data from a settings object.
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ColorPicker/PaletteView.h