Reduce mainwindow border width

This commit is contained in:
Chocobo1 2015-11-29 00:05:49 +08:00
parent af90eadf71
commit b2bf1b3425
2 changed files with 13 additions and 25 deletions

View file

@ -215,7 +215,7 @@ MainWindow::MainWindow(QWidget *parent)
connect(BitTorrent::Session::instance(), SIGNAL(trackerError(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerError(BitTorrent::TorrentHandle *const, const QString &))); connect(BitTorrent::Session::instance(), SIGNAL(trackerError(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerError(BitTorrent::TorrentHandle *const, const QString &)));
connect(BitTorrent::Session::instance(), SIGNAL(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerWarning(BitTorrent::TorrentHandle *const, const QString &))); connect(BitTorrent::Session::instance(), SIGNAL(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)));
vboxLayout->addWidget(tabs); centralWidgetLayout->addWidget(tabs);
prioSeparator = toolBar->insertSeparator(actionTopPriority); prioSeparator = toolBar->insertSeparator(actionTopPriority);
prioSeparatorMenu = menu_Edit->insertSeparator(actionTopPriority); prioSeparatorMenu = menu_Edit->insertSeparator(actionTopPriority);

View file

@ -13,11 +13,17 @@
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>
</property> </property>
<property name="windowTitle"> <widget class="QWidget" name="centralWidget">
<string/> <layout class="QVBoxLayout" name="centralWidgetLayout">
</property> <property name="leftMargin">
<widget class="QWidget" name="centralwidget"> <number>7</number>
<layout class="QVBoxLayout"> </property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
@ -29,7 +35,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>914</width> <width>914</width>
<height>20</height> <height>22</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menu_Edit"> <widget class="QMenu" name="menu_Edit">
@ -152,17 +158,11 @@
<property name="text"> <property name="text">
<string>E&amp;xit</string> <string>E&amp;xit</string>
</property> </property>
<property name="toolTip">
<string>Exit</string>
</property>
</action> </action>
<action name="actionOptions"> <action name="actionOptions">
<property name="text"> <property name="text">
<string>&amp;Options...</string> <string>&amp;Options...</string>
</property> </property>
<property name="iconText">
<string>Options</string>
</property>
</action> </action>
<action name="actionAbout"> <action name="actionAbout">
<property name="text"> <property name="text">
@ -173,25 +173,16 @@
<property name="text"> <property name="text">
<string>&amp;Resume</string> <string>&amp;Resume</string>
</property> </property>
<property name="iconText">
<string>Resume</string>
</property>
</action> </action>
<action name="actionPause"> <action name="actionPause">
<property name="text"> <property name="text">
<string>&amp;Pause</string> <string>&amp;Pause</string>
</property> </property>
<property name="iconText">
<string>Pause</string>
</property>
</action> </action>
<action name="actionDelete"> <action name="actionDelete">
<property name="text"> <property name="text">
<string>&amp;Delete</string> <string>&amp;Delete</string>
</property> </property>
<property name="iconText">
<string>Delete</string>
</property>
</action> </action>
<action name="actionDownload_from_URL"> <action name="actionDownload_from_URL">
<property name="text"> <property name="text">
@ -319,9 +310,6 @@
<property name="iconText"> <property name="iconText">
<string>Lock</string> <string>Lock</string>
</property> </property>
<property name="toolTip">
<string>Lock qBittorrent</string>
</property>
<property name="shortcut"> <property name="shortcut">
<string notr="true">Ctrl+L</string> <string notr="true">Ctrl+L</string>
</property> </property>