From owner-freebsd-libh Tue Dec 19 12:42:47 2000 From owner-freebsd-libh@FreeBSD.ORG Tue Dec 19 12:42:45 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5927637B400 for ; Tue, 19 Dec 2000 12:42:45 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id OAA54144 for libh@FreeBSD.org; Tue, 19 Dec 2000 14:42:42 -0600 (CST) (envelope-from alex) Message-Id: <200012192042.OAA54144@usw4.freebsd.org> From: Alexander Langer Date: Tue, 19 Dec 2000 14:42:42 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiTVision.hh HuiTVision.cc Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/19 14:42:42 CST Modified files: lib/hui HuiTVision.hh HuiTVision.cc Log: Next step of ContainerWidget stuff for TVision * Don't use a reference for aParent, use a Pointer (MFQt) * Finally implement the arrange() functions, which had only commented-out code that didn't work before. Use Hui::Size for the calculation for the children's sizes. * Implement ContainerWidget::insert as some kind of dummy function. I'll have to check later on what is needed for compatibility with the GroupWidget's insert() function. * ButtonWidget::ButtonWidget now correctly creates the HuiTButton widget and insert()s itself into the parent's list of subwidgets. This commit makes the arrangement stuff working for WindowWidgets (with buttons only). The next step will be to make the virtual Container do the same thing. Revision Changes Path 1.8 +4 -2 libh/lib/hui/HuiTVision.hh 1.10 +90 -54 libh/lib/hui/HuiTVision.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 4:59:12 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 04:59:11 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 9245B37B400 for ; Wed, 20 Dec 2000 04:59:10 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id GAA55032 for libh@FreeBSD.org; Wed, 20 Dec 2000 06:59:10 -0600 (CST) (envelope-from alex) Message-Id: <200012201259.GAA55032@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 06:59:10 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt.cc Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 06:59:10 CST Modified files: lib/hui HuiQt.cc Log: Use subwidgets().push_back() instead of subwidgets().add() in order to keep the correct enumeration of the child-widgets. This is needed for a correct working arrange(), which just iterates through the list (subwidgets) and moves the children to their position. Revision Changes Path 1.15 +13 -13 libh/lib/hui/HuiQt.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 5:15:16 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 05:15:15 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 1CECD37B400 for ; Wed, 20 Dec 2000 05:15:15 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id HAA55075 for libh@FreeBSD.org; Wed, 20 Dec 2000 07:15:15 -0600 (CST) (envelope-from alex) Message-Id: <200012201315.HAA55075@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 07:15:15 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiTVision.cc HuiTVision.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 07:15:15 CST Modified files: lib/hui HuiTVision.cc HuiTVision.hh Log: By adding virtual tgroup() functions (similar to the qwidget() ones for Qt), which just reference the parent's tgroup() function for ContainerWidgets, make the ContainerWidgets working in TVision as well. We're now at a step where the ContainerWidget works as I planned it. I'll have to add the ability to create widgets other than buttons as children of the ContainerWidgets as the next steps. Revision Changes Path 1.11 +128 -94 libh/lib/hui/HuiTVision.cc 1.9 +28 -14 libh/lib/hui/HuiTVision.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 7:24:26 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 07:24:24 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6E86137B400 for ; Wed, 20 Dec 2000 07:24:24 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id JAA55196 for libh@FreeBSD.org; Wed, 20 Dec 2000 09:24:24 -0600 (CST) (envelope-from alex) Message-Id: <200012201524.JAA55196@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 09:24:23 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt.cc Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 09:24:23 CST Modified files: lib/hui HuiQt.cc Log: Revert the previous change. Since subwidgets().add() is only a wrapper to subwidgets().push_back(), which enelimates doubled entries, this doesn't help of course. I must have been in a race-condition where the error didn't occur while testing it after the change. Odd. Revision Changes Path 1.16 +13 -13 libh/lib/hui/HuiQt.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 8:31:49 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 08:31:48 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 3D98A37B400 for ; Wed, 20 Dec 2000 08:31:48 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id KAA55276 for libh@FreeBSD.org; Wed, 20 Dec 2000 10:31:48 -0600 (CST) (envelope-from alex) Message-Id: <200012201631.KAA55276@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 10:31:47 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 10:31:47 CST Modified files: lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Log: Give ContainerWidget the ability to create LabelWidget and InputLineWidget as child. Modify TitledWidget's aParent argument to fit the other widgets (InputLineWidget _is_ a TitledWidget). Not sure if the current behaviour (neither vertically nor horizontally centering the text) of the LabelWidget makes sense within a ContainerWidget. This looks kinda ugly. Maybe we must add a special case for this... Revision Changes Path 1.12 +60 -20 libh/lib/hui/Hui.cd.cc 1.9 +9 -2 libh/lib/hui/Hui.hh 1.12 +147 -51 libh/lib/hui/HuiTVision.cc 1.10 +44 -10 libh/lib/hui/HuiTVision.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 14:32: 0 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 14:31:59 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2EAE537B404 for ; Wed, 20 Dec 2000 14:31:54 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id QAA55546 for libh@FreeBSD.org; Wed, 20 Dec 2000 16:31:51 -0600 (CST) (envelope-from alex) Message-Id: <200012202231.QAA55546@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 16:31:45 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 16:31:45 CST Modified files: lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Log: ContainerWidgets can now create ContainerWidgets as children. Revision Changes Path 1.13 +15 -2 libh/lib/hui/Hui.cd.cc 1.10 +6 -1 libh/lib/hui/Hui.hh 1.13 +42 -6 libh/lib/hui/HuiTVision.cc 1.11 +6 -6 libh/lib/hui/HuiTVision.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Dec 20 14:34:59 2000 From owner-freebsd-libh@FreeBSD.ORG Wed Dec 20 14:34:58 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2F12637B400 for ; Wed, 20 Dec 2000 14:34:58 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id QAA55573 for libh@FreeBSD.org; Wed, 20 Dec 2000 16:34:55 -0600 (CST) (envelope-from alex) Message-Id: <200012202234.QAA55573@usw4.freebsd.org> From: Alexander Langer Date: Wed, 20 Dec 2000 16:34:55 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiTVision.cc Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/20 16:34:55 CST Modified files: lib/hui HuiTVision.cc Log: (forced commit for this file only): The prev. commit modified the ContainerWidget::move(). Since the ContainerWidget is only virtual, the parent's offset must be respected if the parent is a ContainerWidget, too. This is, because we are moving on the next available GroupWidget, and move() moves the widget relative to the real parent, this GroupWidget in that case. This *might* still contain a bug, if more than 2 containers are nested, which I haven't tested, but I think it should work. Revision Changes Path 1.14 +1 -1 libh/lib/hui/HuiTVision.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Dec 21 3:47: 8 2000 From owner-freebsd-libh@FreeBSD.ORG Thu Dec 21 03:47:06 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 58EF837B402 for ; Thu, 21 Dec 2000 03:47:06 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id FAA56336 for libh@FreeBSD.org; Thu, 21 Dec 2000 05:47:06 -0600 (CST) (envelope-from alex) Message-Id: <200012211147.FAA56336@usw4.freebsd.org> From: Alexander Langer Date: Thu, 21 Dec 2000 05:47:06 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/21 05:47:06 CST Modified files: lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Log: ContainerWidget: Create checkBoxes and radioMenus as children. Revision Changes Path 1.14 +71 -6 libh/lib/hui/Hui.cd.cc 1.11 +65 -22 libh/lib/hui/Hui.hh 1.15 +146 -38 libh/lib/hui/HuiTVision.cc 1.12 +37 -11 libh/lib/hui/HuiTVision.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Dec 21 5: 7:23 2000 From owner-freebsd-libh@FreeBSD.ORG Thu Dec 21 05:07:22 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 516F037B400 for ; Thu, 21 Dec 2000 05:07:22 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id HAA56423 for libh@FreeBSD.org; Thu, 21 Dec 2000 07:07:22 -0600 (CST) (envelope-from alex) Message-Id: <200012211307.HAA56423@usw4.freebsd.org> From: Alexander Langer Date: Thu, 21 Dec 2000 07:07:22 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/21 07:07:22 CST Modified files: lib/hui Hui.cd.cc Hui.hh HuiTVision.cc HuiTVision.hh Log: ContainerWidget can now create the remainding Widgets as child-widgets: - ListBox - TextEdit - ProgressIndicator Revision Changes Path 1.15 +131 -17 libh/lib/hui/Hui.cd.cc 1.12 +109 -76 libh/lib/hui/Hui.hh 1.16 +206 -46 libh/lib/hui/HuiTVision.cc 1.13 +51 -23 libh/lib/hui/HuiTVision.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Dec 21 6: 8:40 2000 From owner-freebsd-libh@FreeBSD.ORG Thu Dec 21 06:08:39 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A0C9937B402 for ; Thu, 21 Dec 2000 06:08:38 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id IAA56497 for libh@FreeBSD.org; Thu, 21 Dec 2000 08:08:37 -0600 (CST) (envelope-from alex) Message-Id: <200012211408.IAA56497@usw4.freebsd.org> From: Alexander Langer Date: Thu, 21 Dec 2000 08:08:37 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui Hui.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/21 08:08:37 CST Modified files: lib/hui Hui.hh Log: Indent. Revision Changes Path 1.13 +819 -602 libh/lib/hui/Hui.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Dec 22 1:23: 1 2000 From owner-freebsd-libh@FreeBSD.ORG Fri Dec 22 01:23:00 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 87F9F37B400 for ; Fri, 22 Dec 2000 01:22:59 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id DAA57483 for libh@FreeBSD.org; Fri, 22 Dec 2000 03:22:59 -0600 (CST) (envelope-from alex) Message-Id: <200012220922.DAA57483@usw4.freebsd.org> From: Alexander Langer Date: Fri, 22 Dec 2000 03:22:59 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt.cc Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/22 03:22:59 CST Modified files: lib/hui HuiQt.cc Log: HuiQt::ContainerWidget can now create all others EmbeddedWidgets/other ContainerWidgets as children, too. At least in general, I've found a problem for the ListBox, RadioMenu and CheckBoxes Widgets, but I think I can solve this. This seems to be a part of the TCL->Qt interaction, since it works for TVision. Revision Changes Path 1.17 +607 -115 libh/lib/hui/HuiQt.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Dec 22 8:59:15 2000 From owner-freebsd-libh@FreeBSD.ORG Fri Dec 22 08:59:14 2000 Return-Path: Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 257B737B400 for ; Fri, 22 Dec 2000 08:59:14 -0800 (PST) Received: (from alex@localhost) by usw4.freebsd.org (8.9.3/8.9.3) id KAA57827 for libh@FreeBSD.org; Fri, 22 Dec 2000 10:59:14 -0600 (CST) (envelope-from alex) Message-Id: <200012221659.KAA57827@usw4.freebsd.org> From: Alexander Langer Date: Fri, 22 Dec 2000 10:59:13 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt.hh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2000/12/22 10:59:13 CST Modified files: lib/hui HuiQt.hh Log: Oops, commit the header file as well. Here is the log from HuiQt.cc: HuiQt::ContainerWidget can now create all others EmbeddedWidgets/other ContainerWidgets as children, too. At least in general, I've found a problem for the ListBox, RadioMenu and CheckBoxes Widgets, but I think I can solve this. This seems to be a part of the TCL->Qt interaction, since it works for TVision. Revision Changes Path 1.13 +84 -48 libh/lib/hui/HuiQt.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message