diff --git a/src/calibre/gui2/store/search.py b/src/calibre/gui2/store/search.py index 8dadda7189..960b8e25c7 100644 --- a/src/calibre/gui2/store/search.py +++ b/src/calibre/gui2/store/search.py @@ -50,16 +50,7 @@ class SearchDialog(QDialog, Ui_Dialog): cbox.setChecked(True) stores_group_layout.addWidget(cbox) setattr(self, 'store_check_' + x.name, cbox) - stores_group_layout.addStretch() - store_button_layout = QHBoxLayout() - stores_group_layout.addLayout(store_button_layout) - self.select_all_stores = QPushButton(_('All')) - self.select_invert_stores = QPushButton(_('Invert')) - self.select_none_stores = QPushButton(_('None')) - store_button_layout.addWidget(self.select_all_stores) - store_button_layout.addWidget(self.select_invert_stores) - store_button_layout.addWidget(self.select_none_stores) self.search.clicked.connect(self.do_search) self.checker.timeout.connect(self.get_results) diff --git a/src/calibre/gui2/store/search.ui b/src/calibre/gui2/store/search.ui index 19ff13300a..077163dafa 100644 --- a/src/calibre/gui2/store/search.ui +++ b/src/calibre/gui2/store/search.ui @@ -39,46 +39,112 @@ - + Qt::Horizontal - + Stores + + + + + true + + + + + 0 + 0 + 215 + 116 + + + + + + + + + + + All + + + + + + + Invert + + + + + + + None + + + + + + - + - + 2 0 - - true - - - - 32 - 32 - - - - false - - - false - - - false - - - true - - - false + + Qt::Horizontal + + + Qt::Horizontal + + + + + 1 + 0 + + + + + 0 + 0 + + + + true + + + + 32 + 32 + + + + false + + + false + + + false + + + true + + + false + + +