mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Usability improvement in torrent properties
This commit is contained in:
parent
4a33917e89
commit
a7da280f57
5 changed files with 91 additions and 37 deletions
|
@ -43,6 +43,7 @@ class RealProgressBarThread;
|
|||
class bittorrent;
|
||||
|
||||
enum Tab {MAIN_TAB, TRACKERS_TAB, URLSEEDS_TAB, FILES_TAB};
|
||||
enum SlideState {REDUCED, VISIBLE};
|
||||
|
||||
class PropertiesWidget : public QWidget, private Ui::PropertiesWidget {
|
||||
Q_OBJECT
|
||||
|
@ -55,6 +56,7 @@ private:
|
|||
RealProgressBarThread *progressBarUpdater;
|
||||
QVBoxLayout *progressBarVbox;
|
||||
bittorrent* BTSession;
|
||||
SlideState state;
|
||||
|
||||
protected:
|
||||
QPushButton* getButtonFromIndex(int index);
|
||||
|
@ -69,6 +71,10 @@ protected slots:
|
|||
void on_url_seeds_button_clicked();
|
||||
void on_files_button_clicked();
|
||||
|
||||
public slots:
|
||||
void reduce();
|
||||
void slide();
|
||||
|
||||
public:
|
||||
PropertiesWidget(QWidget *parent, TransferListWidget *transferList, bittorrent* BTSession);
|
||||
~PropertiesWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue