Commit Graph

30 Commits

Author SHA1 Message Date
Andrius Štikonas 30d5671950 Port away from IconThemes. 2020-09-29 17:54:53 +01:00
Andrius Štikonas ad48c72af8 Switch to SPDX license headers. 2020-09-16 00:35:12 +01:00
Andrius Štikonas 51f4a2da04 Compile partitionmanager with Q_NO_KEYWORDS. 2020-09-15 02:26:56 +01:00
Andrius Štikonas 4106ed78fd
Port away from deprecated IconSize method in the remaining dialogs. 2020-03-22 01:10:35 +00:00
Andrius Štikonas 561269a2e6 Convert to C++11 for loop where it is safe to do so. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 6c78120883 Reduce usage of moc. 2016-07-02 12:12:56 +01:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01:00
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00
Andrius Štikonas b651d8de89 Move kpmcore to another repository (sysadmin/kpmcore) 2015-06-04 01:51:56 +01:00
Andrius Štikonas 9d135978ad Add HiDPI support. 2015-04-09 23:26:52 +03:00
Andrius Štikonas bbb2fa3067 Use GPLv3 copyright notices. 2015-02-07 00:32:25 +00:00
Andrius Štikonas f3dd3157a6 Initial port to KDE Frameworks 5.
The port is mostly complete:
    * A few unported items are marked with FIXME: port KF5.
    * KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas 2b537490ad Port away from KDebug. 2014-05-13 14:47:35 +01:00
Volker Lanz d8d7b82862 use pretty name from Device class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128593
2010-05-19 18:38:32 +00:00
Volker Lanz 2eb8c42c1d Remove the few lines related to dbus stuff as long as we're not using any of it
anyway.

Refactor PartitionManagerWidget() and MainWindopw(), moving lots of stuff not
directly related to the PartTableWidget/TreePartition-combo from the former to
the latter. This completely breaks the KCM for now.

Remember the currently selected device across rescans.

Use the partition and device container widget for the context menus of
partitions and devices.

Use QMegatObject::connectSlotByName() where possible, even setting object names
where required to make that work.

Emit operationsChanged() and devicesChanged() in OperationStack because only
that makes any sense.

Add devices properties to toolbar.

Rename itemActivated signal in PartTableWidget to itemDoubleClicked.

DeviceScanner, OperationRunner and OperationStack are child QObjects of
MainWindow now.


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095086
2010-02-23 16:30:05 +00:00
Volker Lanz baa03c4d78 don't pass a pointer to the selected device to ListDevice::updateDevices: this
doesn't have any effect anyway.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1092963
2010-02-19 21:25:48 +00:00
Volker Lanz 51f3be7690 don't connect do itemActivated for listDevies, connect to itemDoubleClicked.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1092961
2010-02-19 21:09:14 +00:00
Volker Lanz e8e8796d46 add action for device properties to collection.
add the device properties action to device context menu.

open device properties when double clicking device in tree widget.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091984
2010-02-18 00:06:36 +00:00
Volker Lanz 51faaebb38 Add some basic configuration dialog stuff.
Remove the option to create msdos-vista-compatible partition tables. Instead,
use a global config to determine which alignment to use.

Add a device properties dialog.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091755
2010-02-17 13:18:25 +00:00
Volker Lanz d9fd184c9d Add some basic read-write-locking to the previewDevices.
Remove comment about race conditions when setting the selected device. Turns
out this wasn't at all the case. It was a signal loop, instead.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089499
2010-02-13 11:25:56 +00:00
Volker Lanz 7991de7fef Clean up ListDevices and, in the process, also MainWindow and the KCM.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089088
2010-02-12 11:29:12 +00:00
Volker Lanz 275dfde876 revert r1077006: don't show all devices in partition tree. it's just too
confusing.

but do keep the code to show the first device by default. also add code to make
sure the devices list shows the selected devices as indeed selected in the list
widget.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081532
2010-01-28 16:43:27 +00:00
Volker Lanz 16dae55d04 revert 1077129: re-add devices list. this is just not usable with >4 devices
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081529
2010-01-28 16:27:28 +00:00
Volker Lanz 4f5253e6a2 remove devices list
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077129
2010-01-19 12:56:27 +00:00
Volker Lanz 8058585d49 Improved device discovery via Solid.
Use the Solid-provided icon name for devices.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1074953
2010-01-15 01:46:45 +00:00
Volker Lanz 0487aa276c set size hint of list items to 32 pixel height in the devices list, too. looks
better

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1071252
2010-01-07 19:24:13 +00:00
Volker Lanz 4f6f488b6b Try to remember the currently selected device when updating the devices list.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957497
2009-04-22 09:21:35 +00:00
Volker Lanz 44eef78bc0 * Refactor MainWindow and split it up into several classes for the central
widget and the docks.
* Add a first version of a kcontrol kcm for KDE Partition Manager based on
  these refactored classes. Still a lot left to do, though.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957231
2009-04-21 16:36:43 +00:00