mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-11 11:31:52 +02:00
portrait mode for android
This commit is contained in:
parent
d8ee343800
commit
0424f71cb2
@ -81,7 +81,7 @@
|
||||
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTop"
|
||||
android:screenOrientation="sensorLandscape" />
|
||||
android:screenOrientation="fullSensor" />
|
||||
|
||||
<service
|
||||
android:name=".ServerService"
|
||||
|
@ -107,6 +107,8 @@ public class VcmiSDLActivity extends SDLActivity
|
||||
mLayout = layout;
|
||||
|
||||
setContentView(outerLayout);
|
||||
|
||||
VcmiSDLActivity.this.setWindowStyle(true); // set fullscreen
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -234,6 +234,14 @@ void InputHandler::preprocessEvent(const SDL_Event & ev)
|
||||
boost::mutex::scoped_lock interfaceLock(GH.interfaceMutex);
|
||||
GH.onScreenResize(false);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case SDL_WINDOWEVENT_SIZE_CHANGED:
|
||||
#ifdef VCMI_ANDROID
|
||||
{
|
||||
boost::mutex::scoped_lock interfaceLock(GH.interfaceMutex);
|
||||
GH.onScreenResize(true);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case SDL_WINDOWEVENT_FOCUS_GAINED:
|
||||
|
@ -211,6 +211,10 @@ ScreenHandler::ScreenHandler()
|
||||
// NOTE: requires SDL 2.24.
|
||||
SDL_SetHint(SDL_HINT_WINDOWS_DPI_AWARENESS, "permonitor");
|
||||
#endif
|
||||
if(settings["video"]["allowPortrait"].Bool())
|
||||
SDL_SetHint(SDL_HINT_ORIENTATIONS, "Portrait PortraitUpsideDown LandscapeLeft LandscapeRight");
|
||||
else
|
||||
SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight");
|
||||
|
||||
if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_GAMECONTROLLER))
|
||||
{
|
||||
@ -493,7 +497,7 @@ SDL_Window * ScreenHandler::createWindow()
|
||||
#endif
|
||||
|
||||
#ifdef VCMI_ANDROID
|
||||
return createWindowImpl(Point(), SDL_WINDOW_FULLSCREEN, false);
|
||||
return createWindowImpl(Point(), SDL_WINDOW_RESIZABLE, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -188,7 +188,8 @@
|
||||
"fontScalingFactor",
|
||||
"upscalingFilter",
|
||||
"fontUpscalingFilter",
|
||||
"downscalingFilter"
|
||||
"downscalingFilter",
|
||||
"allowPortrait"
|
||||
],
|
||||
"properties" : {
|
||||
"resolution" : {
|
||||
@ -276,6 +277,10 @@
|
||||
"type" : "string",
|
||||
"enum" : [ "nearest", "linear", "best" ],
|
||||
"default" : "best"
|
||||
},
|
||||
"allowPortrait" : {
|
||||
"type" : "boolean",
|
||||
"default" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -128,6 +128,8 @@ void CSettingsView::loadSettings()
|
||||
#ifndef VCMI_ANDROID
|
||||
ui->buttonHandleBackRightMouseButton->hide();
|
||||
ui->labelHandleBackRightMouseButton->hide();
|
||||
ui->buttonAllowPortrait->hide();
|
||||
ui->labelAllowPortrait->hide();
|
||||
#endif
|
||||
fillValidScalingRange();
|
||||
|
||||
@ -206,6 +208,7 @@ void CSettingsView::loadSettings()
|
||||
void CSettingsView::loadToggleButtonSettings()
|
||||
{
|
||||
setCheckbuttonState(ui->buttonShowIntro, settings["video"]["showIntro"].Bool());
|
||||
setCheckbuttonState(ui->buttonAllowPortrait, settings["video"]["allowPortrait"].Bool());
|
||||
setCheckbuttonState(ui->buttonAutoCheck, settings["launcher"]["autoCheckRepositories"].Bool());
|
||||
|
||||
setCheckbuttonState(ui->buttonRepositoryDefault, settings["launcher"]["defaultRepositoryEnabled"].Bool());
|
||||
@ -472,6 +475,13 @@ void CSettingsView::on_buttonShowIntro_toggled(bool value)
|
||||
updateCheckbuttonText(ui->buttonShowIntro);
|
||||
}
|
||||
|
||||
void CSettingsView::on_buttonAllowPortrait_toggled(bool value)
|
||||
{
|
||||
Settings node = settings.write["video"]["allowPortrait"];
|
||||
node->Bool() = value;
|
||||
updateCheckbuttonText(ui->buttonAllowPortrait);
|
||||
}
|
||||
|
||||
void CSettingsView::on_buttonAutoSave_toggled(bool value)
|
||||
{
|
||||
Settings node = settings.write["general"]["saveFrequency"];
|
||||
|
@ -47,6 +47,7 @@ private slots:
|
||||
void on_comboBoxEnemyAI_currentTextChanged(const QString & arg1);
|
||||
void on_spinBoxNetworkPort_valueChanged(int arg1);
|
||||
void on_buttonShowIntro_toggled(bool value);
|
||||
void on_buttonAllowPortrait_toggled(bool value);
|
||||
void on_buttonAutoCheck_toggled(bool value);
|
||||
void on_comboBoxDisplayIndex_currentIndexChanged(int index);
|
||||
void on_buttonAutoSave_toggled(bool value);
|
||||
|
@ -53,7 +53,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout" columnstretch="20,5,5,5,5,10">
|
||||
<item row="22" column="1" colspan="5">
|
||||
<item row="23" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonCursorType">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -69,14 +69,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="61" column="0">
|
||||
<item row="62" column="0">
|
||||
<widget class="QLabel" name="labelModsValidation">
|
||||
<property name="text">
|
||||
<string>Mods Validation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="24" column="1" colspan="5">
|
||||
<item row="25" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxUpscalingFilter">
|
||||
<item>
|
||||
<property name="text">
|
||||
@ -105,7 +105,7 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="44" column="1" colspan="5">
|
||||
<item row="45" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderControllerSticksSensitivity">
|
||||
<property name="minimum">
|
||||
<number>500</number>
|
||||
@ -133,7 +133,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="36" column="1" colspan="5">
|
||||
<item row="37" column="1" colspan="5">
|
||||
<widget class="QPushButton" name="pushButtonResetTutorialTouchscreen">
|
||||
<property name="text">
|
||||
<string>Reset</string>
|
||||
@ -147,7 +147,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="40" column="1" colspan="5">
|
||||
<item row="41" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderLongTouchDuration">
|
||||
<property name="minimum">
|
||||
<number>500</number>
|
||||
@ -172,7 +172,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="55" column="1">
|
||||
<item row="56" column="1">
|
||||
<widget class="QToolButton" name="buttonAutoCheck">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@ -223,7 +223,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="30" column="1" colspan="5">
|
||||
<item row="31" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderMusicVolume">
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
@ -239,7 +239,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="56" column="1">
|
||||
<item row="57" column="1">
|
||||
<widget class="QToolButton" name="buttonRepositoryDefault">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@ -261,34 +261,34 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="31" column="0">
|
||||
<item row="32" column="0">
|
||||
<widget class="QLabel" name="labelSoundVolume">
|
||||
<property name="text">
|
||||
<string>Sound Volume</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="39" column="0">
|
||||
<item row="40" column="0">
|
||||
<widget class="QLabel" name="labelHapticFeedback">
|
||||
<property name="text">
|
||||
<string>Haptic Feedback</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="42" column="0">
|
||||
<item row="43" column="0">
|
||||
<widget class="QLabel" name="labelToleranceDistanceTouch">
|
||||
<property name="text">
|
||||
<string>Touch Tap Tolerance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="21" column="1" colspan="5">
|
||||
<item row="22" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxRendererType"/>
|
||||
</item>
|
||||
<item row="1" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxLanguage"/>
|
||||
</item>
|
||||
<item row="59" column="1" colspan="5">
|
||||
<item row="60" column="1" colspan="5">
|
||||
<widget class="QSpinBox" name="spinBoxNetworkPortLobby">
|
||||
<property name="minimum">
|
||||
<number>1024</number>
|
||||
@ -301,7 +301,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="61" column="5">
|
||||
<item row="62" column="5">
|
||||
<widget class="QToolButton" name="buttonValidationFull">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@ -326,7 +326,7 @@
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="43" column="0">
|
||||
<item row="44" column="0">
|
||||
<widget class="QLabel" name="labelInputMouse_3">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -341,7 +341,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="23" column="2" colspan="4">
|
||||
<item row="24" column="2" colspan="4">
|
||||
<widget class="QSlider" name="sliderScalingCursor">
|
||||
<property name="minimum">
|
||||
<number>10</number>
|
||||
@ -372,14 +372,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="22" column="0">
|
||||
<item row="23" column="0">
|
||||
<widget class="QLabel" name="labelCursorType">
|
||||
<property name="text">
|
||||
<string>Software Cursor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="48" column="1" colspan="5">
|
||||
<item row="49" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxEnemyPlayerAI">
|
||||
<property name="currentText">
|
||||
<string notr="true">VCAI</string>
|
||||
@ -396,7 +396,7 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="56" column="2" colspan="4">
|
||||
<item row="57" column="2" colspan="4">
|
||||
<widget class="QLineEdit" name="lineEditRepositoryDefault">
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
@ -406,7 +406,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="49" column="1" colspan="5">
|
||||
<item row="50" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxAlliedPlayerAI">
|
||||
<property name="currentText">
|
||||
<string notr="true">VCAI</string>
|
||||
@ -430,7 +430,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="47" column="0">
|
||||
<item row="48" column="0">
|
||||
<widget class="QLabel" name="labelArtificialIntelligence">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -445,14 +445,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="56" column="0">
|
||||
<item row="57" column="0">
|
||||
<widget class="QLabel" name="labelRepositoryDefault">
|
||||
<property name="text">
|
||||
<string>Default repository</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="27" column="1">
|
||||
<item row="28" column="1">
|
||||
<widget class="QLabel" name="labelScalingFontValue"/>
|
||||
</item>
|
||||
<item row="14" column="4" colspan="2">
|
||||
@ -471,21 +471,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="38" column="0">
|
||||
<item row="39" column="0">
|
||||
<widget class="QLabel" name="labelRelativeCursorSpeed">
|
||||
<property name="text">
|
||||
<string>Relative Pointer Speed</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="25" column="0">
|
||||
<item row="26" column="0">
|
||||
<widget class="QLabel" name="labelDownscalingFilter">
|
||||
<property name="text">
|
||||
<string>Downscaling Filter</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="54" column="1" colspan="5">
|
||||
<item row="55" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonIgnoreSslErrors">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@ -527,7 +527,30 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="26" column="1" colspan="2">
|
||||
<item row="20" column="0">
|
||||
<widget class="QLabel" name="labelAllowPortrait">
|
||||
<property name="text">
|
||||
<string>Allow portrait mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="20" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonAllowPortrait">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="27" column="1" colspan="2">
|
||||
<widget class="QToolButton" name="buttonFontAuto">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -549,7 +572,7 @@
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="31" column="1" colspan="5">
|
||||
<item row="32" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderSoundVolume">
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
@ -565,7 +588,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="57" column="1">
|
||||
<item row="58" column="1">
|
||||
<widget class="QToolButton" name="buttonRepositoryExtra">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -584,28 +607,28 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="55" column="2" colspan="4">
|
||||
<item row="56" column="2" colspan="4">
|
||||
<widget class="QPushButton" name="refreshRepositoriesButton">
|
||||
<property name="text">
|
||||
<string>Refresh now</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="49" column="0">
|
||||
<item row="50" column="0">
|
||||
<widget class="QLabel" name="labelAlliedPlayerAI">
|
||||
<property name="text">
|
||||
<string>Adventure Map Allies</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="50" column="0">
|
||||
<item row="51" column="0">
|
||||
<widget class="QLabel" name="labelNeutralAI">
|
||||
<property name="text">
|
||||
<string>Neutral AI in battles</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="27" column="2" colspan="4">
|
||||
<item row="28" column="2" colspan="4">
|
||||
<widget class="QSlider" name="sliderScalingFont">
|
||||
<property name="minimum">
|
||||
<number>10</number>
|
||||
@ -636,21 +659,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="58" column="1" colspan="5">
|
||||
<item row="59" column="1" colspan="5">
|
||||
<widget class="QLineEdit" name="lineEditGameLobbyHost">
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="20" column="0">
|
||||
<item row="21" column="0">
|
||||
<widget class="QLabel" name="labelDisplayIndex">
|
||||
<property name="text">
|
||||
<string>Display index</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="37" column="0">
|
||||
<item row="38" column="0">
|
||||
<widget class="QLabel" name="labelRelativeCursorMode">
|
||||
<property name="text">
|
||||
<string>Use Relative Pointer Mode</string>
|
||||
@ -660,14 +683,14 @@
|
||||
<item row="7" column="1" colspan="5">
|
||||
<widget class="QSpinBox" name="spinBoxAutoSaveLimit"/>
|
||||
</item>
|
||||
<item row="51" column="0">
|
||||
<item row="52" column="0">
|
||||
<widget class="QLabel" name="labelFriendlyAI">
|
||||
<property name="text">
|
||||
<string>Autocombat AI in battles</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="61" column="1" colspan="2">
|
||||
<item row="62" column="1" colspan="2">
|
||||
<widget class="QToolButton" name="buttonValidationOff">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@ -692,7 +715,7 @@
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="32" column="0">
|
||||
<item row="33" column="0">
|
||||
<widget class="QLabel" name="labelInputMouse">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -714,7 +737,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="39" column="1" colspan="5">
|
||||
<item row="40" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonHapticFeedback">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -730,7 +753,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="29" column="0">
|
||||
<item row="30" column="0">
|
||||
<widget class="QLabel" name="labelAudio">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -745,7 +768,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="57" column="0">
|
||||
<item row="58" column="0">
|
||||
<widget class="QLabel" name="labelRepositoryExtra">
|
||||
<property name="text">
|
||||
<string>Additional repository</string>
|
||||
@ -768,7 +791,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="48" column="0">
|
||||
<item row="49" column="0">
|
||||
<widget class="QLabel" name="labelEnemyPlayerAI">
|
||||
<property name="text">
|
||||
<string>Adventure Map Enemies</string>
|
||||
@ -782,21 +805,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="26" column="0">
|
||||
<item row="27" column="0">
|
||||
<widget class="QLabel" name="labelFonts">
|
||||
<property name="text">
|
||||
<string>Use scalable fonts</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="21" column="0">
|
||||
<item row="22" column="0">
|
||||
<widget class="QLabel" name="labelRendererType">
|
||||
<property name="text">
|
||||
<string>Renderer</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="35" column="0">
|
||||
<item row="36" column="0">
|
||||
<widget class="QLabel" name="labelInputMouse_2">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -827,10 +850,10 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="23" column="1">
|
||||
<item row="24" column="1">
|
||||
<widget class="QLabel" name="labelScalingCursorValue"/>
|
||||
</item>
|
||||
<item row="37" column="1" colspan="5">
|
||||
<item row="38" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonRelativeCursorMode">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -853,28 +876,28 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="58" column="0">
|
||||
<item row="59" column="0">
|
||||
<widget class="QLabel" name="labelGameLobbyHost">
|
||||
<property name="text">
|
||||
<string>Online Lobby address</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="59" column="0">
|
||||
<item row="60" column="0">
|
||||
<widget class="QLabel" name="labelNetworkPortLobby">
|
||||
<property name="text">
|
||||
<string>Online Lobby port</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="46" column="0">
|
||||
<item row="47" column="0">
|
||||
<widget class="QLabel" name="labelToleranceDistanceController">
|
||||
<property name="text">
|
||||
<string>Controller Click Tolerance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="50" column="1" colspan="5">
|
||||
<item row="51" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxNeutralAI">
|
||||
<property name="currentText">
|
||||
<string notr="true">BattleAI</string>
|
||||
@ -891,7 +914,7 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="25" column="1" colspan="5">
|
||||
<item row="26" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxDownscalingFilter">
|
||||
<item>
|
||||
<property name="text">
|
||||
@ -910,24 +933,24 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="54" column="0">
|
||||
<item row="55" column="0">
|
||||
<widget class="QLabel" name="labelIgnoreSslErrors">
|
||||
<property name="text">
|
||||
<string>Ignore SSL errors</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="20" column="1" colspan="5">
|
||||
<item row="21" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxDisplayIndex"/>
|
||||
</item>
|
||||
<item row="36" column="0">
|
||||
<item row="37" column="0">
|
||||
<widget class="QLabel" name="labelResetTutorialTouchscreen">
|
||||
<property name="text">
|
||||
<string>Show Tutorial again</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="45" column="0">
|
||||
<item row="46" column="0">
|
||||
<widget class="QLabel" name="labelControllerSticksAcceleration">
|
||||
<property name="text">
|
||||
<string>Sticks Acceleration</string>
|
||||
@ -949,7 +972,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="52" column="1" colspan="5">
|
||||
<item row="53" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxEnemyAI">
|
||||
<property name="editable">
|
||||
<bool>false</bool>
|
||||
@ -983,21 +1006,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="33" column="0">
|
||||
<item row="34" column="0">
|
||||
<widget class="QLabel" name="labelToleranceDistanceMouse">
|
||||
<property name="text">
|
||||
<string>Mouse Click Tolerance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="34" column="0">
|
||||
<item row="35" column="0">
|
||||
<widget class="QLabel" name="labelHandleBackRightMouseButton">
|
||||
<property name="text">
|
||||
<string>Handle back as right mouse button</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="34" column="1" colspan="5">
|
||||
<item row="35" column="1" colspan="5">
|
||||
<widget class="QToolButton" name="buttonHandleBackRightMouseButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -1013,7 +1036,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="52" column="0">
|
||||
<item row="53" column="0">
|
||||
<widget class="QLabel" name="labelEnemyAI">
|
||||
<property name="text">
|
||||
<string>Enemy AI in battles</string>
|
||||
@ -1027,7 +1050,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="42" column="1" colspan="5">
|
||||
<item row="43" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderToleranceDistanceTouch">
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
@ -1062,14 +1085,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="30" column="0">
|
||||
<item row="31" column="0">
|
||||
<widget class="QLabel" name="labelMusicVolume">
|
||||
<property name="text">
|
||||
<string>Music Volume</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="51" column="1" colspan="5">
|
||||
<item row="52" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxFriendlyAI">
|
||||
<property name="editable">
|
||||
<bool>false</bool>
|
||||
@ -1089,14 +1112,14 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="57" column="2" colspan="4">
|
||||
<item row="58" column="2" colspan="4">
|
||||
<widget class="QLineEdit" name="lineEditRepositoryExtra">
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="23" column="0">
|
||||
<item row="24" column="0">
|
||||
<widget class="QLabel" name="labelScalingCursor">
|
||||
<property name="text">
|
||||
<string>Cursor Scaling</string>
|
||||
@ -1119,7 +1142,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="26" column="3" colspan="2">
|
||||
<item row="27" column="3" colspan="2">
|
||||
<widget class="QToolButton" name="buttonFontScalable">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -1141,7 +1164,7 @@
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="53" column="0">
|
||||
<item row="54" column="0">
|
||||
<widget class="QLabel" name="labelNetwork">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -1156,7 +1179,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="60" column="0">
|
||||
<item row="61" column="0">
|
||||
<widget class="QLabel" name="labelMiscellaneous">
|
||||
<property name="font">
|
||||
<font>
|
||||
@ -1171,7 +1194,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="45" column="1" colspan="5">
|
||||
<item row="46" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderControllerSticksAcceleration">
|
||||
<property name="minimum">
|
||||
<number>100</number>
|
||||
@ -1243,21 +1266,21 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="40" column="0">
|
||||
<item row="41" column="0">
|
||||
<widget class="QLabel" name="labelLongTouchDuration">
|
||||
<property name="text">
|
||||
<string>Long Touch Duration</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="55" column="0">
|
||||
<item row="56" column="0">
|
||||
<widget class="QLabel" name="labelAutoCheck">
|
||||
<property name="text">
|
||||
<string>Check on startup</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="46" column="1" colspan="5">
|
||||
<item row="47" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderToleranceDistanceController">
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
@ -1301,7 +1324,7 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="38" column="1" colspan="5">
|
||||
<item row="39" column="1" colspan="5">
|
||||
<widget class="QSlider" name="sliderRelativeCursorSpeed">
|
||||
<property name="minimum">
|
||||
<number>100</number>
|
||||
@ -1320,7 +1343,7 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="27" column="0">
|
||||
<item row="28" column="0">
|
||||
<widget class="QLabel" name="labelScalingFont">
|
||||
<property name="text">
|
||||
<string>Font Scaling (experimental)</string>
|
||||
@ -1343,7 +1366,7 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="33" column="1" colspan="5">
|
||||
<item row="34" column="1" colspan="5">
|
||||
<widget class="QSlider" name="slideToleranceDistanceMouse">
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
@ -1378,7 +1401,7 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="26" column="5">
|
||||
<item row="27" column="5">
|
||||
<widget class="QToolButton" name="buttonFontOriginal">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
@ -1416,14 +1439,14 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="44" column="0">
|
||||
<item row="45" column="0">
|
||||
<widget class="QLabel" name="labelControllerSticksSensitivity">
|
||||
<property name="text">
|
||||
<string>Sticks Sensitivity</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="24" column="0">
|
||||
<item row="25" column="0">
|
||||
<widget class="QLabel" name="labelUpscalingFilter">
|
||||
<property name="text">
|
||||
<string>Upscaling Filter</string>
|
||||
@ -1447,7 +1470,7 @@ Fullscreen Exclusive Mode - the game will cover the entirety of your screen and
|
||||
<item row="12" column="1" colspan="5">
|
||||
<widget class="QComboBox" name="comboBoxResolution"/>
|
||||
</item>
|
||||
<item row="61" column="3" colspan="2">
|
||||
<item row="62" column="3" colspan="2">
|
||||
<widget class="QToolButton" name="buttonValidationBasic">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
|
Loading…
x
Reference in New Issue
Block a user