mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
use KColorButton instead of QPushButton when needed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5787 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -52,18 +52,12 @@ class ShapeGraphicsItemPropertiesWidget : public PropertiesEditorWidget
|
||||
bool setLiveEdit(bool live_edit) override;
|
||||
|
||||
private:
|
||||
void setPenColorButton(const QColor &color);
|
||||
void setBrushColorButton(const QColor &color);
|
||||
void setUpEditConnection();
|
||||
|
||||
private slots:
|
||||
void on_m_lock_pos_cb_clicked();
|
||||
void on_m_color_pb_clicked();
|
||||
void on_m_brush_color_pb_clicked();
|
||||
|
||||
|
||||
|
||||
void on_m_color_kpb_changed(const QColor &newColor);
|
||||
void on_m_brush_color_kpb_changed(const QColor &newColor);
|
||||
|
||||
private:
|
||||
Ui::ShapeGraphicsItemPropertiesWidget *ui;
|
||||
|
||||
Reference in New Issue
Block a user