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:
scorpio810
2013-12-26 17:59:58 +00:00
parent ef4bbdf0e3
commit 106b57ba3c
7 changed files with 91 additions and 6 deletions

View File

@@ -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