From 46683949163047405c55efc42fdd3c79e96cde0d Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 4 Apr 2011 09:17:03 +0000 Subject: Fix journal view scrollbar jumpiness. Fix scroll to view on open of new macro. Added new attribute 'type' to checkgroupbox. --- client/widgets/checkgroupbox.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'client/widgets/checkgroupbox.h') diff --git a/client/widgets/checkgroupbox.h b/client/widgets/checkgroupbox.h index eac85f9..9b6dcdc 100644 --- a/client/widgets/checkgroupbox.h +++ b/client/widgets/checkgroupbox.h @@ -37,10 +37,15 @@ * @extends checkbox * @screenshot * @container - * @att layout the layout used in the groupbox. Can be one of 'vbox' or 'hbox'. + * @att layout The layout used in the groupbox. Can be one of 'vbox' or 'hbox'. + * @att type Defines the type of the checkbox. It can be one of 'framed' or + * 'simple'. Framed will draw a frame with the checkbox contained in the + * caption. 'simple' will draw the checkbox without the frame and put the inner + * to the right of it. Default is 'framed'. */ class QGroupBox; +class QCheckBox; class CheckGroupBox : public Widget { Q_OBJECT @@ -65,9 +70,13 @@ private: QString truevalue; QString falsevalue; + QString type; + bool changedByUser; QGroupBox *groupbox; + QCheckBox *checkbox; + QWidget *container; }; #endif/*__PRACRO_CHECKGROUPBOX_H__*/ -- cgit v1.2.3