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
This commit is contained in:
Hugo Pereira Da Costa 2010-06-08 22:45:31 +00:00
parent 8f0e9c270d
commit b97126b5e4
2 changed files with 7 additions and 2 deletions

View File

@ -14,6 +14,9 @@
<string comment="@title:window">KDE Partition Manager</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="PartTableWidget" name="m_PartTableWidget" native="true">
<property name="sizePolicy">
@ -25,13 +28,13 @@
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
<height>74</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
<height>74</height>
</size>
</property>
<property name="contextMenuPolicy">

View File

@ -42,6 +42,8 @@ class PartTableWidget : public PartWidgetBase
public:
PartTableWidget(QWidget* parent);
virtual qint32 borderWidth() const { return 0; } /**< @return border width */
virtual qint32 borderHeight() const { return 0; } /**< @return border height */
public:
void setPartitionTable(const PartitionTable* ptable);