diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 1ead855db..8343b4c3f 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -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(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerWarning(BitTorrent::TorrentHandle *const, const QString &))); - vboxLayout->addWidget(tabs); + centralWidgetLayout->addWidget(tabs); prioSeparator = toolBar->insertSeparator(actionTopPriority); prioSeparatorMenu = menu_Edit->insertSeparator(actionTopPriority); diff --git a/src/gui/mainwindow.ui b/src/gui/mainwindow.ui index f6ef90af0..7f48e98aa 100644 --- a/src/gui/mainwindow.ui +++ b/src/gui/mainwindow.ui @@ -13,11 +13,17 @@ Qt::CustomContextMenu - - - - - + + + + 7 + + + 3 + + + 5 + 0 @@ -29,7 +35,7 @@ 0 0 914 - 20 + 22 @@ -152,17 +158,11 @@ E&xit - - Exit - &Options... - - Options - @@ -173,25 +173,16 @@ &Resume - - Resume - &Pause - - Pause - &Delete - - Delete - @@ -319,9 +310,6 @@ Lock - - Lock qBittorrent - Ctrl+L diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index 539c6a595..90ccdef85 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -79,8 +79,9 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra // Torrent content filtering m_contentFilterLine = new LineEdit(this); m_contentFilterLine->setPlaceholderText(tr("Filter files...")); + m_contentFilterLine->setMaximumSize(300, m_contentFilterLine->size().height()); connect(m_contentFilterLine, SIGNAL(textChanged(QString)), this, SLOT(filterText(QString))); - contentFilterLayout->insertWidget(4, m_contentFilterLine); + contentFilterLayout->insertWidget(3, m_contentFilterLine); // SIGNAL/SLOTS connect(filesList, SIGNAL(clicked(const QModelIndex&)), filesList, SLOT(edit(const QModelIndex&))); @@ -126,7 +127,9 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra // Tracker list trackerList = new TrackerList(this); trackerUpButton->setIcon(GuiIconProvider::instance()->getIcon("go-up")); + trackerUpButton->setIconSize(Utils::Misc::smallIconSize()); trackerDownButton->setIcon(GuiIconProvider::instance()->getIcon("go-down")); + trackerDownButton->setIconSize(Utils::Misc::smallIconSize()); connect(trackerUpButton, SIGNAL(clicked()), trackerList, SLOT(moveSelectionUp())); connect(trackerDownButton, SIGNAL(clicked()), trackerList, SLOT(moveSelectionDown())); horizontalLayout_trackers->insertWidget(0, trackerList); diff --git a/src/gui/properties/propertieswidget.ui b/src/gui/properties/propertieswidget.ui index 920f003ec..01d4e2faf 100644 --- a/src/gui/properties/propertieswidget.ui +++ b/src/gui/properties/propertieswidget.ui @@ -11,9 +11,6 @@ - - 0 - 0 @@ -31,11 +28,8 @@ 0 - + - - 0 - 0 @@ -912,6 +906,18 @@ + + 0 + + + 0 + + + 0 + + + 0 + @@ -928,54 +934,10 @@ - - - - 31 - 27 - - - - - 31 - 27 - - - - - 31 - 27 - - - - - - + - - - - 31 - 27 - - - - - 31 - 27 - - - - - 31 - 27 - - - - - - + @@ -994,11 +956,36 @@ - - + + + + 0 + + + 0 + + + 0 + + + 0 + + - + + + 0 + + + 0 + + + 0 + + + 0 + @@ -1011,8 +998,20 @@ - + + + 0 + + + 0 + + + 0 + + + 0 + @@ -1042,22 +1041,6 @@ - - - - - 75 - true - - - - Torrent content: - - - Qt::AlignVCenter - - - @@ -1078,8 +1061,21 @@ - - + + + + 0 + + + 0 + + + 0 + + + 0 + +