History log of /haiku/src/apps/drivesetup/PartitionList.h
Revision Date Author Comments
# 491bbe77 22-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Implement optimal zoom for main window

* Fixes #6265 and #8672.

- GCI 2013


# a206dee3 01-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: improved default window size.

* The default width will no longer make the parameters and partition type
columns visible.
* Fixed default size of those two columns -- I did not notice that the column
state was being restored before, and thought it would just be another oddity
of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
longer gets a BRect.
* The window will now also be resized vertically to make space for all the
partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.


# f672eb28 16-Sep-2012 Stephan Aßmus <superstippi@gmx.de>

Small cleanups to dragging partition entries code.


# 5d871e57 23-Aug-2012 Jacob Waterman <jwlhc172@gmail.com>

Added drag & drop of disk/partition paths; drag a list item to terminal, pe, etc. and release to copy the path. (ticket #8872)

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>


# e5f148dd 31-Aug-2009 Stephan Aßmus <superstippi@gmx.de>

It was a bad idea to calculate the text margin when drawing the first column.
Now it is explicitely calculated, which makes getting the preferred size
more reliable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32852 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f492539 01-Nov-2008 Jérôme Duval <korli@users.berlios.de>

implemented PartitionColumn::GetPreferredWidth()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28462 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 967d7204 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented support for generating global partition_ids for partitionable
spaces. This way we can use all the existing logic to select them in either
list view or the disk layout view. IAW, selecting empty spaces now works.
* Changed the way the Create menu works. It is now only enabled if a space
item is selected and then the sub items are filled with the types that
the parent partition says it supports for child creation. (Does not
yet seem to work.)
* PartitionViews for spaces were not put into the partition_id -> view map.
* Fixed focus indication when switching the disk for the disk layout view,
previously, the correct view was only selected when the disk did not change.
* Added a temporary work around to avoid showing bogus space items at all
(those smaller than a "cylinder size"). Currently hard coded to 8 MB size.
But I already have an idea how we could fix this in the Disk Device API
implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23854 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aa1df4dc 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

Incorporate work done by James Urquhart (jamesu):
* Use our own BBitmapStringField implementation which also requires our
own BColumn implementation. This is just a visual improvement which makes
both the eventual partiton icon and device label indent with the outline
level of the list item
* when setting the Unmount menu item enabled state, check wether the
partition in question is the /boot volume and disallow unmounting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56d794d6 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* implemented detecting and displaying available space on devices and
partitions - I couldn't test it yet, but what is definitely missing
is being able to select these spaces to create new partitions on them
* fixed the bug that if you select a partition on another disk, the
disk view does not switch to the new disk. (I was comparing disk
pointers, but since I deleted the old BDiskDevice instance first, the
new one got assigned the same pointer... at least it appears I am not
leaking memory anywhere... :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23811 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ec103c3c 27-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

Moved DriveSetup from preferences to apps. Changed HaikuImage script
accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23767 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 491bbe7797c6cfc073a1161bdb03d48602333035 22-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Implement optimal zoom for main window

* Fixes #6265 and #8672.

- GCI 2013


# a206dee38ea6adfa82f4cfeae22fe748deaf0477 01-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: improved default window size.

* The default width will no longer make the parameters and partition type
columns visible.
* Fixed default size of those two columns -- I did not notice that the column
state was being restored before, and thought it would just be another oddity
of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
longer gets a BRect.
* The window will now also be resized vertically to make space for all the
partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.


# f672eb2827c4d2c10387921a2042919f60178809 16-Sep-2012 Stephan Aßmus <superstippi@gmx.de>

Small cleanups to dragging partition entries code.


# 5d871e578d9e8d21962073510049b4df95ae7518 23-Aug-2012 Jacob Waterman <jwlhc172@gmail.com>

Added drag & drop of disk/partition paths; drag a list item to terminal, pe, etc. and release to copy the path. (ticket #8872)

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>


# e5f148ddec4520d0a7a9865f01e3a9b2237175eb 31-Aug-2009 Stephan Aßmus <superstippi@gmx.de>

It was a bad idea to calculate the text margin when drawing the first column.
Now it is explicitely calculated, which makes getting the preferred size
more reliable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32852 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f492539e7773137ea600d08870497887e750379 01-Nov-2008 Jérôme Duval <korli@users.berlios.de>

implemented PartitionColumn::GetPreferredWidth()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28462 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 967d72041f81ab74e2cd286cf91ed2b594ba91f5 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented support for generating global partition_ids for partitionable
spaces. This way we can use all the existing logic to select them in either
list view or the disk layout view. IAW, selecting empty spaces now works.
* Changed the way the Create menu works. It is now only enabled if a space
item is selected and then the sub items are filled with the types that
the parent partition says it supports for child creation. (Does not
yet seem to work.)
* PartitionViews for spaces were not put into the partition_id -> view map.
* Fixed focus indication when switching the disk for the disk layout view,
previously, the correct view was only selected when the disk did not change.
* Added a temporary work around to avoid showing bogus space items at all
(those smaller than a "cylinder size"). Currently hard coded to 8 MB size.
But I already have an idea how we could fix this in the Disk Device API
implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23854 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aa1df4dc4dea04956f8f2798b55637dc14eb7683 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

Incorporate work done by James Urquhart (jamesu):
* Use our own BBitmapStringField implementation which also requires our
own BColumn implementation. This is just a visual improvement which makes
both the eventual partiton icon and device label indent with the outline
level of the list item
* when setting the Unmount menu item enabled state, check wether the
partition in question is the /boot volume and disallow unmounting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56d794d68eaf9562d60cb397db1a030561960c2e 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* implemented detecting and displaying available space on devices and
partitions - I couldn't test it yet, but what is definitely missing
is being able to select these spaces to create new partitions on them
* fixed the bug that if you select a partition on another disk, the
disk view does not switch to the new disk. (I was comparing disk
pointers, but since I deleted the old BDiskDevice instance first, the
new one got assigned the same pointer... at least it appears I am not
leaking memory anywhere... :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23811 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ec103c3c389cb3f2827c816f7544eb2a51ea49c6 27-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

Moved DriveSetup from preferences to apps. Changed HaikuImage script
accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23767 a95241bf-73f2-0310-859d-f6bbb57e9c96