mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
- Add option to Options for live color chooser support (QgsColorDialog) - Add ability to define whether QgsColorButton accepts live updates (default: true) - Move QgsColorButton to single subclass of QPushButton - Show different button types relative to whether button has text - Add transparent checkerboard background for chosen colors with alpha < 255 - Fix triple-modal window issue for Mac (with regards to using native color dialog) - Composer item frame now supports transparency - Composer item background transparency support moved to color dialog - Composer composition grid now supports transparency
33 lines
957 B
Plaintext
33 lines
957 B
Plaintext
class QgsSymbolsListWidget : QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgssymbolslistwidget.h>
|
|
%End
|
|
public:
|
|
QgsSymbolsListWidget( QgsSymbolV2* symbol, QgsStyleV2* style, QMenu* menu, QWidget* parent = NULL );
|
|
|
|
public slots:
|
|
void setSymbolFromStyle( const QModelIndex & index );
|
|
void setSymbolColor( const QColor& color );
|
|
void setMarkerAngle( double angle );
|
|
void setMarkerSize( double size );
|
|
void setLineWidth( double width );
|
|
void addSymbolToStyle();
|
|
void on_mSymbolUnitComboBox_currentIndexChanged( const QString & text );
|
|
void on_mTransparencySlider_valueChanged( int value );
|
|
|
|
void on_groupsCombo_currentIndexChanged( int index );
|
|
void on_groupsCombo_editTextChanged( const QString &text );
|
|
|
|
void openStyleManager();
|
|
|
|
signals:
|
|
void changed();
|
|
|
|
protected:
|
|
void populateSymbolView();
|
|
void populateSymbols( QStringList symbols );
|
|
void updateSymbolColor();
|
|
void updateSymbolInfo();
|
|
};
|