Update SettingsPanel.h and SettingsPanel.ui
This commit is contained in:
@@ -5,15 +5,7 @@
|
||||
#include <qt-color-widgets/color_selector.hpp>
|
||||
|
||||
#include <QtCore/QSettings>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDoubleSpinBox>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QSpinBox>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include <QtWidgets/QComboBox>
|
||||
|
||||
|
||||
|
||||
namespace noggit
|
||||
@@ -22,39 +14,6 @@ namespace noggit
|
||||
{
|
||||
class settings : public QDialog
|
||||
{
|
||||
private:
|
||||
util::file_line_edit* gamePathField;
|
||||
util::file_line_edit* projectPathField;
|
||||
util::file_line_edit* importPathField;
|
||||
util::file_line_edit* wmvLogPathField;
|
||||
QDoubleSpinBox* viewDistanceField;
|
||||
QDoubleSpinBox* farZField;
|
||||
QSpinBox* _adt_unload_dist;
|
||||
QSpinBox* _adt_unload_check_interval;
|
||||
QCheckBox* _uid_cb;
|
||||
|
||||
QCheckBox* tabletModeCheck;
|
||||
QCheckBox* _undock_tool_properties;
|
||||
QCheckBox* _undock_small_texture_palette;
|
||||
QCheckBox* _vsync_cb;
|
||||
|
||||
QCheckBox* _additional_file_loading_log;
|
||||
|
||||
QGroupBox* _mysql_box;
|
||||
#ifdef USE_MYSQL_UID_STORAGE
|
||||
QLineEdit* _mysql_server_field;
|
||||
QLineEdit* _mysql_user_field;
|
||||
QLineEdit* _mysql_pwd_field;
|
||||
QLineEdit* _mysql_db_field;
|
||||
#endif
|
||||
QComboBox* _theme;
|
||||
QButtonGroup* _wireframe_type_group;
|
||||
QDoubleSpinBox* _wireframe_radius;
|
||||
QDoubleSpinBox* _wireframe_width;
|
||||
color_widgets::ColorSelector* _wireframe_color;
|
||||
QCheckBox* _anti_aliasing_cb;
|
||||
QCheckBox* _fullscreen_cb;
|
||||
|
||||
QSettings* _settings;
|
||||
public:
|
||||
settings(QWidget* parent = nullptr);
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<string/>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="tabBarAutoHide">
|
||||
<bool>false</bool>
|
||||
@@ -106,7 +106,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<widget class="QPushButton" name="gamePathField_browse">
|
||||
<property name="text">
|
||||
<string>Browse</string>
|
||||
</property>
|
||||
@@ -133,7 +133,7 @@
|
||||
<widget class="QLineEdit" name="projectPathField"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<widget class="QPushButton" name="projectPathField_browse">
|
||||
<property name="text">
|
||||
<string>Browse</string>
|
||||
</property>
|
||||
@@ -160,7 +160,7 @@
|
||||
<widget class="QLineEdit" name="importPathField"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<widget class="QPushButton" name="importPathField_browse">
|
||||
<property name="text">
|
||||
<string>Browse</string>
|
||||
</property>
|
||||
@@ -187,7 +187,7 @@
|
||||
<widget class="QLineEdit" name="wmvLogPathField"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<widget class="QPushButton" name="wmvLogPathField_browse">
|
||||
<property name="text">
|
||||
<string>Browse</string>
|
||||
</property>
|
||||
@@ -1256,14 +1256,14 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<widget class="QPushButton" name="saveButton">
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<widget class="QPushButton" name="discardButton">
|
||||
<property name="text">
|
||||
<string>Discard</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user