Hugo Pereira Da Costa
57cd2870d7
Remove painting of free and used- space on top of partition rect.
...
Use two different rects for the partition rect instead, with colors calculated from the base color derived from the partition type.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136093
2010-06-08 22:38:27 +00:00
Volker Lanz
771ee3cb5c
use same horizontal stretch as dialogbase
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135948
2010-06-08 13:23:29 +00:00
Volker Lanz
c692d95848
modified color for unknown/unallocated
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135919
2010-06-08 10:47:51 +00:00
Volker Lanz
c0f1b0123a
show physical sector size in GUI
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135558
2010-06-07 15:37:20 +00:00
Volker Lanz
fbe5cbe667
introduce physical sector size to Device objects
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135557
2010-06-07 15:37:05 +00:00
Volker Lanz
97fbfb8f06
fix typo in default icon name
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135555
2010-06-07 15:34:59 +00:00
Volker Lanz
7bde47b854
rename sector size labels in DevicePropsWidget (and its UI file) to logical
...
sector size
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135518
2010-06-07 13:42:19 +00:00
Volker Lanz
c281271807
use Device::logicalSectorSize() instead of Partition::sectorSize() where ever
...
possible
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135513
2010-06-07 13:36:04 +00:00
Volker Lanz
2b50c60469
rename Device::sectorSize() to Device::logicalSectorSize()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135506
2010-06-07 13:10:55 +00:00
Volker Lanz
0d9f974c79
hack: work around a design flaw that we don't know if the unit to show is
...
singular or plural in Capacity::unitName().
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135505
2010-06-07 13:04:15 +00:00
Volker Lanz
7c750514d0
make sure to say we're talking about logical sector size when we say sector size.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135497
2010-06-07 12:56:27 +00:00
Volker Lanz
d18e8cfb2a
fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135478
2010-06-07 12:14:55 +00:00
Volker Lanz
fa36ef13f6
simplyfy grid layout, fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135474
2010-06-07 12:20:03 +00:00
Volker Lanz
ecb6341769
fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135470
2010-06-07 12:11:31 +00:00
Volker Lanz
3b2a443e07
modify spacing, width and border size for new looks
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135253
2010-06-06 23:39:10 +00:00
Volker Lanz
f298733650
adjust some colors to avoid triggering an oxygen bug regarding gradients only
...
fixed for SC 4.5 (the bug of course is still triggered once the user changes
the colors himself to something too light)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135186
2010-06-06 18:32:38 +00:00
Volker Lanz
29f73d29fa
integrate Hugo's new code a little better, mainly white space.
...
move implementation of handleWidget() to cpp file to avoid an include
add credit to KAboutData
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135182
2010-06-06 18:23:17 +00:00
Hugo Pereira Da Costa
16de8b9034
Changed rendering of
...
- partwidget, to use the same appearance as buttons
- partresizewidget, to use a 'sunken' frame, and same appearance as QSplitter for the resize handlers.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135173
2010-06-06 17:57:08 +00:00
Script Kiddy
0753131834
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134370
2010-06-04 06:59:05 +00:00
Andrius Štikonas
b34b84ad62
Add comment="KDE::DoNotExtract" to names of the form.
...
This dummy string is not visible by the user so it is not necessary to translate it.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134246
2010-06-03 18:27:43 +00:00
Volker Lanz
68d1eb14ce
use a PartWidget instead of a PartResizerWidget in the partition properties
...
dialog -- no one is going to do any resizing, after all.
to make this possible, allow creating a PartWidget() without a valid Partition
pointer and add an init() method for later setting the Partition pointer. also
take care of the Partition pointer being NULL everywhere in the class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134172
2010-06-03 15:01:53 +00:00
Volker Lanz
6508ad1d71
create and handle info pane just like the other dock widget content widgets
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134148
2010-06-03 14:27:11 +00:00
Volker Lanz
0a77bb6d8a
remove KPart remains
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134137
2010-06-03 14:02:35 +00:00
Volker Lanz
c37e28d3b8
add combo box for preferred size unit to advanced config tab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134130
2010-06-03 13:26:44 +00:00
Volker Lanz
fbb8fed626
oops. forgot that one. thanks to kdepepo for notifying me.
...
CCMAIL:christoph@maxiom.de
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134096
2010-06-03 12:24:40 +00:00
Volker Lanz
a2b78f0dde
add command line option to activated advanced config page; it's hidden by
...
default now.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133916
2010-06-02 20:39:25 +00:00
Volker Lanz
8ce6689dd5
move allow applying as non-root and backend config to a new advanced tab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133813
2010-06-02 14:35:02 +00:00
Volker Lanz
9ff7bb2227
add a "sectors" suffix to partition alignment spinbox
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133810
2010-06-02 14:21:25 +00:00
Volker Lanz
358825fba1
move mountentry to its own implementation files and make it a class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133534
2010-06-01 22:07:13 +00:00
Volker Lanz
a6715ebebe
increase version
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133462
2010-06-01 19:21:50 +00:00
Volker Lanz
b47363f3a2
remove some actions from default toolbars to make them more usable
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133421
2010-06-01 17:52:53 +00:00
Volker Lanz
bd3a3db8b9
make sure the max value of first and last sector isn't set wrong
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132901
2010-05-31 17:12:18 +00:00
Volker Lanz
07d3bcb15c
add minimum capacity for btrfs
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132764
2010-05-31 11:06:20 +00:00
Volker Lanz
e66fa24e52
don't allow editing mount points for mounted partitions
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130885
2010-05-26 17:33:39 +00:00
Volker Lanz
b7dfc67ca9
resolve symlinks when reading device nodes from fstab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130866
2010-05-26 16:52:20 +00:00
Volker Lanz
88494c8607
copy the old partition table pointer from the current op to the pushed op if
...
we're merging two ops to create partition tables on the same device
add doxygen comments for new merge method
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129889
2010-05-24 04:00:54 +00:00
Volker Lanz
ed05e673e0
rename method and make description property non const; it might change, after
...
all, during the lifetime of the object if some other operation is merged with
this operation (generally speaking, not necessarily true for copyops)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129885
2010-05-24 03:28:16 +00:00
Volker Lanz
0c15c050da
generate the copy operation's description once in the ctor, don't dynamically
...
create it each time description() is called; this avoids lots of little bugs
when the source partition is, for example, resized after the copy is made or
its file system changes...
this is probably how this generally should be done for all operations.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129879
2010-05-24 02:36:29 +00:00
Volker Lanz
51ae5ddcb4
clear the clipboard if undo deleted the partition that's in it
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129877
2010-05-24 01:52:36 +00:00
Volker Lanz
15e23d806e
backup op does not target a device
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129869
2010-05-24 01:11:57 +00:00
Volker Lanz
5327ca792a
compare partition's device path with device's, not partition table pointers
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129867
2010-05-24 01:05:01 +00:00
Volker Lanz
f123525c22
fix comment
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129866
2010-05-24 01:04:17 +00:00
Volker Lanz
b91e35ca12
remove unused arg
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129821
2010-05-23 21:21:13 +00:00
Volker Lanz
bd5accaa16
merge creating a new partition table with previous ops if they target the
...
device; i.e., if there are ops that target the device where the partition table
is created, delete those ops.
this needs a lot of testing still. also, if the user undoes the creating of the
partition table, the deletes ops don't just magically reappear. this could
probably be solved by not deleting them but moving them to some qlist in the
create partition table op...?
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129812
2010-05-23 20:15:51 +00:00
Volker Lanz
ea4031b645
add methods to each operation to return if the op targets a given device or
...
partition
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129811
2010-05-23 20:13:46 +00:00
Volker Lanz
b8d25fa809
add operator==() and operator!=() for partition and device classes
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129809
2010-05-23 20:12:06 +00:00
Volker Lanz
91b6ce0a47
make formatted spinbox work when suffix or prefix are set
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129714
2010-05-23 14:05:57 +00:00
Volker Lanz
94f45fca5c
disable resizing for btrfs, i can't get it to work outside partition manager
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129308
2010-05-21 21:41:43 +00:00
Volker Lanz
0422bfcc15
don't overflow, it's signed... also, an EiB of disk storage ought to be big
...
enough for everyone.. for the next months, at least.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129273
2010-05-21 20:20:39 +00:00
Volker Lanz
90dc6b318b
make mfs.extX shup up so it doesn't kill the qt widget with its output
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129270
2010-05-21 20:10:57 +00:00