Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 12:39:56 -0400
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Libh <freebsd-libh@FreeBSD.ORG>
Subject:   Re: disklabel can now display sub parts
Message-ID:  <20011010123956.B531@shall.anarcat.dyndns.org>
In-Reply-To: <20011010114108.E1967@zerogravity.kawo2.rwth-aachen.de>
References:  <20011009192007.C601@shall.anarcat.dyndns.org> <20011010114108.E1967@zerogravity.kawo2.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--61jdw2sOBCFtR2d/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed Oct 10, 2001 at 11:41:08AM +0200, Alexander Langer wrote:
> Thus spake The Anarcat (anarcat@anarcat.dyndns.org):
>=20
> > such. One thing: Qt here uses variable-width font, so the columns are
> > not aligned. It would be interesting to have some "table" widget
> > instead of "tabbed" listboxes.
>=20
> That's on my todo.  Basically, I want to rewrite Qt's "tabbed" part
> to use Qt table widgets to display correctly (=3D=3D aligned).
> So Listboxes could be used w/o tables and w/ tables.

ok.. so hack listbox.. hmm... shouldn't we use a "table widget" as such?
as in QListView?

> If you need it, use \t alignment for now, and I'll implement it
> ASAP.
=20
no hurry. But yes, it would make the editor look nicer. :)

> > If there is no table widget available, I'll probably try to setup the
> > label editor as a list of buttons/fields/labels in various containers.
> > Then the problem will be of having this area "panable".
>=20
> Ouch, no.  I already know _how_ to add support for this to Qt's
> listbox widget, but it's an annoying task since you have to
> recalculate for every add/remove of lines... .
>=20
> I should do it, nevertheless.  Maybe this evening :)

No hurry, again. The GUI is the candy, I'm looking at implementing
functionality, right now. After I'll make it look cute. :)

> > Note that the "available disks" listbox is doomed to go. That or the
> > disk units from the "available partitions" listbox. I think the disk
> > lines are important there because they delimit which partitions are on
> > which disk, and inform about the space left.
>=20
> Feel free to remove every duplicated code, and do more stuff.
> To be honest, I didn't really design the diskeditor before
> starting working on it, so if you find design issues now,
> you should fix them :))

> > Now, the thing is that if disklabel "replaces" diskwizard, users might
> > be confused if they arrive to disklabel first and that there is nothing
> > there (in the case of a new install). Logically, the fdisk operation
>=20
> If it's still easy and straightforward to create those stuff,
> I'm ok with those changes.

ack.

> > goes before the disklabel operation... A workaround might be to popup
> > the fdisk dialog before, but then on which disk???
>=20
> That's why I did those initial screen :)

Yes, but the label editor looks *a lot* like this initial screen, when
no disks are fdisk'd.

> > Little quirk I haven't figured out, the disks get out backwards (ad1
> > then ad0)...
>=20
> Yeah.  Sort them manually in libh, we can't rely on kern.disks here.

k.

> I really don't know what happens to pcmcia disks anyways - are
> they added to the end of the list? etc...

let's hope so... no pcmcia to test here.. :)

a.

--61jdw2sOBCFtR2d/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvEedsACgkQttcWHAnWiGfAIwCfdA8+KRcIVm0Fecc+yJhOZYBB
PwMAniZKAfVmZFtla3VXYBYmKNasFNvm
=yV8d
-----END PGP SIGNATURE-----

--61jdw2sOBCFtR2d/--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011010123956.B531>