mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-30 18:50:11 +08:00
Move options ui as a pointer member variable
This commit is contained in:
parent
05cbb35814
commit
97ee63fc78
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>Preferences</class>
|
<class>OptionsDialog</class>
|
||||||
<widget class="QDialog" name="Preferences">
|
<widget class="QDialog" name="OptionsDialog">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@ -1363,7 +1363,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>497</width>
|
<width>457</width>
|
||||||
<height>672</height>
|
<height>672</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -1836,8 +1836,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>510</width>
|
<width>388</width>
|
||||||
<height>538</height>
|
<height>452</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -31,9 +31,12 @@
|
|||||||
#ifndef OPTIONS_IMP_H
|
#ifndef OPTIONS_IMP_H
|
||||||
#define OPTIONS_IMP_H
|
#define OPTIONS_IMP_H
|
||||||
|
|
||||||
#include "ui_options.h"
|
#include <QButtonGroup>
|
||||||
|
#include <QDialog>
|
||||||
|
|
||||||
|
class QAbstractButton;
|
||||||
class QCloseEvent;
|
class QCloseEvent;
|
||||||
|
class QListWidgetItem;
|
||||||
class AdvancedSettings;
|
class AdvancedSettings;
|
||||||
|
|
||||||
// actions on double-click on torrents
|
// actions on double-click on torrents
|
||||||
@ -44,7 +47,12 @@ enum DoubleClickAction
|
|||||||
NO_ACTION
|
NO_ACTION
|
||||||
};
|
};
|
||||||
|
|
||||||
class options_imp: public QDialog, private Ui_Preferences
|
namespace Ui
|
||||||
|
{
|
||||||
|
class OptionsDialog;
|
||||||
|
}
|
||||||
|
|
||||||
|
class options_imp: public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
private:
|
private:
|
||||||
@ -164,6 +172,7 @@ private:
|
|||||||
bool webUIAuthenticationOk();
|
bool webUIAuthenticationOk();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Ui::OptionsDialog *m_ui;
|
||||||
QButtonGroup choiceLanguage;
|
QButtonGroup choiceLanguage;
|
||||||
QAbstractButton *applyButton;
|
QAbstractButton *applyButton;
|
||||||
AdvancedSettings *advancedSettings;
|
AdvancedSettings *advancedSettings;
|
||||||
|
Loading…
Reference in New Issue
Block a user