Commit Graph

22 Commits

Author SHA1 Message Date
Yuri Chornoivan dcc665cc27 Fix minor EBN issues 2019-12-09 18:33:04 +02:00
Andrius Štikonas 78eca538d6 Remove double underscore from include guards. 2017-09-11 16:28:04 +01:00
Andrius Štikonas 7f0ab53f8a Cleanup includes a bit. 2016-08-23 16:40:16 +01:00
Andrius Štikonas 374f88fa5f Remove reduntant virtual keywords. 2016-05-17 18:03:28 +01:00
Andrius Štikonas 1832059353 Add override keyword to virtual functions. 2016-04-28 00:17:47 +01:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01: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
Teo Mrnjavac cf51fa1ad0 Move PartResizerWidget and related to KPMcore. 2015-07-08 18:16:03 +02:00
Andrius Štikonas bbb2fa3067 Use GPLv3 copyright notices. 2015-02-07 00:32:25 +00:00
Andrius Štikonas 7fbae9ee29 Port to new Qt5 macro QStringLiteral and use stricter compile flags
Now compile with:
  -DQT_USE_QSTRINGBUILDER
  -DQT_NO_CAST_TO_ASCII
  -DQT_NO_CAST_FROM_ASCII
  -DQT_STRICT_ITERATORS
  -DQT_NO_URL_CAST_FROM_STRING
  -DQT_NO_CAST_FROM_BYTEARRAY
  -DQT_NO_SIGNALS_SLOTS_KEYWORDS
  -DQT_USE_FAST_OPERATOR_PLUS
2014-05-20 22:33:02 +01:00
Hugo Pereira Da Costa b97126b5e4 Set borderwidth and borderheight to zero for parttablewidget.h
Set the margin of partitionmanagerwidgetbase to zero. And reduced the fixed height from 80 to 74, to account for the change above.



svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136095
2010-06-08 22:45:31 +00:00
Volker Lanz d058abce6e doxygen updates
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128312
2010-05-18 22:27:30 +00:00
Volker Lanz ec44af261e move childWidgets() from PartWidget and PartTableWidget to the common base
class

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114051
2010-04-12 16:22:14 +00:00
Volker Lanz 92a9bd2878 make PartWidgetBase a QWidget
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114049
2010-04-12 16:14:10 +00:00
Volker Lanz 22978e66b8 don't keep a list of our children in PartTableWidget either; like in
PartWidget, we can just let Qt handle that for us

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114047
2010-04-12 16:08:13 +00:00
Volker Lanz c1a6713e45 Remember the active PartWidget in the widget, not in the PartTableWidget. This
means the PartWidget doesn't need to know its PartTableWidget anymore.

Don't keep a list of child widgets, Qt will do that for us.

Remove the showChildren param and property from PartWidget, it wasn't used
anymore.

Rename active() to isActive() in PartWidget for consistency.


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114033
2010-04-12 14:35:02 +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 1f3ed68b34 add read-only flag to PartTableWidget
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091653
2010-02-17 10:06:23 +00:00
Volker Lanz 5036af3e5d cleanup some stuff: whitespace fixes, add some q_disable_copy macros, add some
initialisations to class headers

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1046678
2009-11-09 13:51:08 +00:00
Volker Lanz f10ffb5001 Show an info message if no device is selected or the selected device has no
valid partition table.

No need to overwrite paintEvent().

svn path=/trunk/playground/sysadmin/partitionmanager/; revision=868394
2008-10-06 09:18:31 +00:00
Volker Lanz d6dc26bd90 import of KDE Partition Manager
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864431
2008-09-24 19:32:01 +00:00