mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-25 22:09:35 +00:00
Add support for performance counters in GUI
This commit is contained in:
parent
85a5ae8ea1
commit
ff7c0f88ea
|
@ -68,9 +68,9 @@ void ConfigDialog::_init()
|
|||
{
|
||||
// Video settings
|
||||
QStringList windowedModesList;
|
||||
const int windowedModesCustom = numWindowedModes - 1;
|
||||
int windowedModesCurrent = windowedModesCustom;
|
||||
for (int i = 0; i < numWindowedModes; ++i) {
|
||||
const unsigned int windowedModesCustom = numWindowedModes - 1;
|
||||
unsigned int windowedModesCurrent = windowedModesCustom;
|
||||
for (unsigned int i = 0; i < numWindowedModes; ++i) {
|
||||
windowedModesList.append(WindowedModes[i].description);
|
||||
if (i != windowedModesCustom &&
|
||||
WindowedModes[i].width == config.video.windowedWidth &&
|
||||
|
@ -215,21 +215,6 @@ void ConfigDialog::_init()
|
|||
|
||||
ui->txPathLabel->setText(QString::fromWCharArray(config.textureFilter.txPath));
|
||||
|
||||
QString fontName(config.font.name.c_str());
|
||||
m_font = QFont(fontName.left(fontName.indexOf(".ttf")), config.font.size);
|
||||
QString strSize;
|
||||
strSize.setNum(m_font.pointSize());
|
||||
ui->fontNameLabel->setText(m_font.family() + " - " + strSize);
|
||||
|
||||
m_color = QColor(config.font.color[0], config.font.color[1], config.font.color[2]);
|
||||
ui->fontColorLabel->setFont(m_font);
|
||||
ui->fontColorLabel->setText(m_color.name());
|
||||
QPalette palette;
|
||||
palette.setColor(QPalette::Window, Qt::black);
|
||||
palette.setColor(QPalette::WindowText, m_color);
|
||||
ui->fontColorLabel->setAutoFillBackground(true);
|
||||
ui->fontColorLabel->setPalette(palette);
|
||||
|
||||
// Post filter settings
|
||||
ui->bloomGroupBox->setChecked(config.bloomFilter.enable != 0);
|
||||
switch (config.bloomFilter.blendMode) {
|
||||
|
@ -247,9 +232,37 @@ void ConfigDialog::_init()
|
|||
ui->blurAmountSlider->setValue(config.bloomFilter.blurAmount);
|
||||
ui->blurStrengthSlider->setValue(config.bloomFilter.blurStrength);
|
||||
|
||||
ui->forceGammaCorrectionCheckBox->setChecked(config.gammaCorrection.force != 0);
|
||||
ui->forceGammaCorrectionCheckBox->setChecked(config.gammaCorrection.force != 0);
|
||||
ui->gammaLevelSpinBox->setValue(config.gammaCorrection.level);
|
||||
ui->gammaLevelSpinBox->setEnabled(ui->forceGammaCorrectionCheckBox->isChecked());
|
||||
|
||||
// OSD settings
|
||||
QString fontName(config.font.name.c_str());
|
||||
m_font = QFont(fontName.left(fontName.indexOf(".ttf")), config.font.size);
|
||||
QString strSize;
|
||||
strSize.setNum(m_font.pointSize());
|
||||
ui->fontNameLabel->setText(m_font.family() + " - " + strSize);
|
||||
|
||||
m_color = QColor(config.font.color[0], config.font.color[1], config.font.color[2]);
|
||||
ui->fontColorLabel->setFont(m_font);
|
||||
ui->fontColorLabel->setText(m_color.name());
|
||||
QPalette palette;
|
||||
palette.setColor(QPalette::Window, Qt::black);
|
||||
palette.setColor(QPalette::WindowText, m_color);
|
||||
ui->fontColorLabel->setAutoFillBackground(true);
|
||||
ui->fontColorLabel->setPalette(palette);
|
||||
|
||||
ui->fpsCheckBox->setChecked(config.onScreenDisplay.fps != 0);
|
||||
ui->visCheckBox->setChecked(config.onScreenDisplay.vis != 0);
|
||||
ui->percentCheckBox->setChecked(config.onScreenDisplay.percent != 0);
|
||||
if (config.onScreenDisplay.horisontalPos == Config::posLeft)
|
||||
ui->leftRadioButton->setChecked(true);
|
||||
else
|
||||
ui->rightRadioButton->setChecked(true);
|
||||
if (config.onScreenDisplay.verticalPos == Config::posTop)
|
||||
ui->topRadioButton->setChecked(true);
|
||||
else
|
||||
ui->bottoRadioButton->setChecked(true);
|
||||
}
|
||||
|
||||
void ConfigDialog::_getTranslations(QStringList & _translationFiles) const
|
||||
|
@ -403,6 +416,22 @@ void ConfigDialog::accept()
|
|||
if (!txPath.isEmpty())
|
||||
config.textureFilter.txPath[txPath.toWCharArray(config.textureFilter.txPath)] = L'\0';
|
||||
|
||||
// Post filter settings
|
||||
config.bloomFilter.enable = ui->bloomGroupBox->isChecked() ? 1 : 0;
|
||||
if (ui->bloomStrongRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 0;
|
||||
else if (ui->bloomMildRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 1;
|
||||
else if (ui->bloomLightRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 2;
|
||||
config.bloomFilter.thresholdLevel = ui->bloomThresholdSlider->value();
|
||||
config.bloomFilter.blurAmount = ui->blurAmountSlider->value();
|
||||
config.bloomFilter.blurStrength = ui->blurStrengthSlider->value();
|
||||
|
||||
config.gammaCorrection.force = ui->forceGammaCorrectionCheckBox->isChecked() ? 1 : 0;
|
||||
config.gammaCorrection.level = ui->gammaLevelSpinBox->value();
|
||||
|
||||
// OSD settings
|
||||
config.font.size = m_font.pointSize();
|
||||
QString fontName = m_font.family() + ".ttf";
|
||||
#ifdef OS_WINDOWS
|
||||
|
@ -419,20 +448,11 @@ void ConfigDialog::accept()
|
|||
config.font.colorf[2] = m_color.blueF();
|
||||
config.font.colorf[3] = m_color.alphaF();
|
||||
|
||||
// Post filter settings
|
||||
config.bloomFilter.enable = ui->bloomGroupBox->isChecked() ? 1 : 0;
|
||||
if (ui->bloomStrongRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 0;
|
||||
else if (ui->bloomMildRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 1;
|
||||
else if (ui->bloomLightRadioButton->isChecked())
|
||||
config.bloomFilter.blendMode = 2;
|
||||
config.bloomFilter.thresholdLevel = ui->bloomThresholdSlider->value();
|
||||
config.bloomFilter.blurAmount = ui->blurAmountSlider->value();
|
||||
config.bloomFilter.blurStrength = ui->blurStrengthSlider->value();
|
||||
|
||||
config.gammaCorrection.force = ui->forceGammaCorrectionCheckBox->isChecked() ? 1 : 0;
|
||||
config.gammaCorrection.level = ui->gammaLevelSpinBox->value();
|
||||
config.onScreenDisplay.fps = ui->fpsCheckBox->isChecked() ? 1 : 0;
|
||||
config.onScreenDisplay.vis = ui->visCheckBox->isChecked() ? 1 : 0;
|
||||
config.onScreenDisplay.percent = ui->percentCheckBox->isChecked() ? 1 : 0;
|
||||
config.onScreenDisplay.horisontalPos = ui->leftRadioButton->isChecked() ? Config::posLeft : Config::posRight;
|
||||
config.onScreenDisplay.verticalPos = ui->topRadioButton->isChecked() ? Config::posTop : Config::posBottom;
|
||||
|
||||
writeSettings(m_strIniPath);
|
||||
|
||||
|
|
|
@ -108,6 +108,14 @@ void _loadSettings(QSettings & settings)
|
|||
config.gammaCorrection.force = settings.value("force", config.gammaCorrection.force).toInt();
|
||||
config.gammaCorrection.level = settings.value("level", config.gammaCorrection.level).toFloat();
|
||||
settings.endGroup();
|
||||
|
||||
settings.beginGroup("onScreenDispaly");
|
||||
config.onScreenDisplay.fps = settings.value("showFPS", config.onScreenDisplay.fps).toInt();
|
||||
config.onScreenDisplay.vis = settings.value("showVIS", config.onScreenDisplay.vis).toInt();
|
||||
config.onScreenDisplay.percent = settings.value("showPercent", config.onScreenDisplay.percent).toInt();
|
||||
config.onScreenDisplay.horisontalPos = settings.value("osdHorisontalPos", config.onScreenDisplay.horisontalPos).toInt();
|
||||
config.onScreenDisplay.verticalPos = settings.value("osdVerticalPos", config.onScreenDisplay.verticalPos).toInt();
|
||||
settings.endGroup();
|
||||
}
|
||||
|
||||
void loadSettings(const QString & _strIniFolder)
|
||||
|
@ -216,6 +224,14 @@ void writeSettings(const QString & _strIniFolder)
|
|||
settings.setValue("force", config.gammaCorrection.force);
|
||||
settings.setValue("level", config.gammaCorrection.level);
|
||||
settings.endGroup();
|
||||
|
||||
settings.beginGroup("onScreenDispaly");
|
||||
settings.setValue("showFPS", config.onScreenDisplay.fps);
|
||||
settings.setValue("showVIS", config.onScreenDisplay.vis);
|
||||
settings.setValue("showPercent", config.onScreenDisplay.percent);
|
||||
settings.setValue("osdHorisontalPos", config.onScreenDisplay.horisontalPos);
|
||||
settings.setValue("osdVerticalPos", config.onScreenDisplay.verticalPos);
|
||||
settings.endGroup();
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
@ -1416,137 +1416,43 @@
|
|||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Message color:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for text messages, displayed during texture cache or texture pack save/load.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Message font:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="fontNameLabel">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for text messages, displayed during texture cache or texture pack save/load.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Arial</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="fontColorLabel">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Green</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QPushButton" name="PickFontColorButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Pick</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="selectFontButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for text messages, displayed during texture cache or texture pack save/load.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Select</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_12">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select path to folder with HD textures packs.<br/>Default: Plugin/hires_texture</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Texture pack path:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="txPathLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select path to folder with HD textures packs.<br/>Default: Plugin/hires_texture</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QPushButton" name="texPackPathButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select path to folder with HD textures packs.<br/>Default: Plugin/hires_texture</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Choose</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<widget class="QLabel" name="label_12">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select path to folder with HD textures packs.<br/>Default: Plugin/hires_texture</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Texture pack path:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="txPathLabel">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="texPackPathButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select path to folder with HD textures packs.<br/>Default: Plugin/hires_texture</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Choose</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
|
@ -1583,6 +1489,16 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_5" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="postFilterTab">
|
||||
|
@ -1862,6 +1778,253 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="osdTab">
|
||||
<attribute name="title">
|
||||
<string>On screen display</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_17">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="osdFontParametersGroupBox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Font parameters</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_18">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="fontColorLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Green</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QPushButton" name="PickFontColorButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Pick</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="selectFontButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for on screen text messages.<br/>Warning: not all fonts installed in your system can be used. If you do not see OSD messages, switch back to default font.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Select</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for on screen text messages.<br/>Warning: not all fonts installed in your system can be used. If you do not see OSD messages, switch back to default font.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Message font:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="fontNameLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select font and font size for on screen text messages.<br/>Warning: not all fonts installed in your system can be used. If you do not see OSD messages, switch back to default font.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Arial</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select color of text messages.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Message color:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="performanceGroupBox">
|
||||
<property name="title">
|
||||
<string>Performance counters</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_19">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="fpsCheckBox">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Show <span style=" font-weight:600;">Frames Per Second</span> counter</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>FPS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="visCheckBox">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Show <span style=" font-weight:600;">Video Interrupts per second</span> counter</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>VI/S</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="percentCheckBox">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Show <span style=" font-weight:600;">Performance in percents</span> counter</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>%</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_42">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select left or right corner.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Horisontal position:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_43">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select top or bottom corner.<br/></p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Vertical position:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QRadioButton" name="leftRadioButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select left or right corner.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>left</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">horisontalPositionButtonGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QRadioButton" name="topRadioButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select top or bottom corner.<br/></p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>top</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">verticalPositionButtonGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QRadioButton" name="rightRadioButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select left or right corner.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>right</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">horisontalPositionButtonGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QRadioButton" name="bottoRadioButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Counters displayed in a corner of the screen. Select top or bottom corner.<br/></p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>bottom</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">verticalPositionButtonGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_6" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -1915,38 +2078,6 @@
|
|||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>anisotropicSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>anisotropicLabelVal</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>122</x>
|
||||
<y>453</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>529</x>
|
||||
<y>452</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>aliasingSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>aliasingLabelVal</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>122</x>
|
||||
<y>334</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>529</x>
|
||||
<y>333</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>bloomThresholdSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
|
@ -1980,18 +2111,34 @@
|
|||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>blurStrengthSlider</sender>
|
||||
<sender>aliasingSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>label_23</receiver>
|
||||
<receiver>aliasingLabelVal</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>290</x>
|
||||
<y>218</y>
|
||||
<x>122</x>
|
||||
<y>334</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>535</x>
|
||||
<y>218</y>
|
||||
<x>529</x>
|
||||
<y>333</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>resolutionFactorSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>factorLabelVal</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>415</x>
|
||||
<y>267</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>529</x>
|
||||
<y>266</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
|
@ -2012,29 +2159,47 @@
|
|||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>resolutionFactorSlider</sender>
|
||||
<sender>anisotropicSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>factorLabelVal</receiver>
|
||||
<receiver>anisotropicLabelVal</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>415</x>
|
||||
<y>267</y>
|
||||
<x>122</x>
|
||||
<y>453</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>529</x>
|
||||
<y>266</y>
|
||||
<y>452</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>blurStrengthSlider</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>label_23</receiver>
|
||||
<slot>setNum(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>290</x>
|
||||
<y>218</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>535</x>
|
||||
<y>218</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
<buttongroups>
|
||||
<buttongroup name="bilinearButtonGroup"/>
|
||||
<buttongroup name="fixTexrectCoordsButtonGroup"/>
|
||||
<buttongroup name="screenshotButtonGroup"/>
|
||||
<buttongroup name="copyDepthBufferButtonGroup"/>
|
||||
<buttongroup name="copyFrameBufferButtonGroup"/>
|
||||
<buttongroup name="verticalPositionButtonGroup"/>
|
||||
<buttongroup name="bloomBlendModeButtonGroup"/>
|
||||
<buttongroup name="bilinearButtonGroup"/>
|
||||
<buttongroup name="copyDepthBufferButtonGroup"/>
|
||||
<buttongroup name="screenshotButtonGroup"/>
|
||||
<buttongroup name="horisontalPositionButtonGroup"/>
|
||||
<buttongroup name="copyFrameBufferButtonGroup"/>
|
||||
<buttongroup name="aspectButtonGroup"/>
|
||||
<buttongroup name="fixTexrectCoordsButtonGroup"/>
|
||||
</buttongroups>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in New Issue
Block a user