mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 18:50:52 +01:00
Added Abhishek Bansal patch:
Diagram::background_color is now selectable and make component color reverse color for contrast, thanks Abhishek git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2670 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "borderproperties.h"
|
||||
class QCheckBox;
|
||||
class QSpinBox;
|
||||
class QPushButton;
|
||||
/**
|
||||
This class provides a widget to edit dimensions and display properties of a
|
||||
diagram, title block excluded.
|
||||
@@ -42,6 +43,10 @@ class BorderPropertiesWidget : public QWidget {
|
||||
bool isReadOnly() const;
|
||||
void setReadOnly(bool);
|
||||
void setEditedBorder(const BorderProperties &);
|
||||
|
||||
public slots:
|
||||
// to choose the back_ground color of diagram.
|
||||
void chooseColor();
|
||||
|
||||
private:
|
||||
void build();
|
||||
@@ -55,5 +60,6 @@ class BorderPropertiesWidget : public QWidget {
|
||||
QSpinBox *rows_count; ///< Widget to edit the rows count
|
||||
QSpinBox *rows_height; ///< Widget to edit the rows height
|
||||
QCheckBox *display_rows; ///< Checkbox stating whether to display row headers
|
||||
QPushButton *pb_background_color; ///< Push button for selecting diagram background color
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user