summaryrefslogtreecommitdiff
path: root/client/widgets/checkgroupbox.h
diff options
context:
space:
mode:
authordeva <deva>2011-04-04 09:17:03 +0000
committerdeva <deva>2011-04-04 09:17:03 +0000
commit46683949163047405c55efc42fdd3c79e96cde0d (patch)
treec60229ebf98f96115a8479440011955689909806 /client/widgets/checkgroupbox.h
parentf86e3fa5d2333116b435cb7fd7bbfeb699483d12 (diff)
Fix journal view scrollbar jumpiness. Fix scroll to view on open of new macro. Added new attribute 'type' to checkgroupbox.
Diffstat (limited to 'client/widgets/checkgroupbox.h')
-rw-r--r--client/widgets/checkgroupbox.h11
1 files changed, 10 insertions, 1 deletions
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__*/