- enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default)

This commit is contained in:
royqh1979@gmail.com 2021-10-20 12:27:44 +08:00
parent ae2f3596aa
commit e2751fc693
10 changed files with 149 additions and 56 deletions

View File

@ -4,6 +4,7 @@ Version 0.7.0
- enhancement: fill indents in the editor (Turned off by default) - enhancement: fill indents in the editor (Turned off by default)
- enhancement: new file template - enhancement: new file template
- fix: when an editor is created, its caret will be displayed even it doesn't have focus - fix: when an editor is created, its caret will be displayed even it doesn't have focus
- enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default)
Version 0.6.8 Version 0.6.8
- enhancement: add link to cppreference in the help menu - enhancement: add link to cppreference in the help menu

Binary file not shown.

View File

@ -1020,7 +1020,7 @@ Are you really want to continue?</source>
<translation>:</translation> <translation>:</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="3707"/> <location filename="editor.cpp" line="3709"/>
<source>Readonly</source> <source>Readonly</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4887,175 +4887,175 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1409"/> <location filename="settings.cpp" line="1422"/>
<location filename="settings.cpp" line="1428"/> <location filename="settings.cpp" line="1441"/>
<location filename="settings.cpp" line="1440"/> <location filename="settings.cpp" line="1453"/>
<location filename="settings.cpp" line="1452"/> <location filename="settings.cpp" line="1465"/>
<source>The following %1 directories don&apos;t exist:</source> <source>The following %1 directories don&apos;t exist:</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1410"/> <location filename="settings.cpp" line="1423"/>
<location filename="settings.cpp" line="1420"/> <location filename="settings.cpp" line="1433"/>
<source>binary</source> <source>binary</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1419"/> <location filename="settings.cpp" line="1432"/>
<source>No %1 directories have been specified.</source> <source>No %1 directories have been specified.</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1429"/> <location filename="settings.cpp" line="1442"/>
<source>C include</source> <source>C include</source>
<translation>C包含</translation> <translation>C包含</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1441"/> <location filename="settings.cpp" line="1454"/>
<location filename="settings.cpp" line="1453"/> <location filename="settings.cpp" line="1466"/>
<source>C++ include</source> <source>C++ include</source>
<translation>C++</translation> <translation>C++</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1472"/> <location filename="settings.cpp" line="1485"/>
<location filename="settings.cpp" line="1477"/> <location filename="settings.cpp" line="1490"/>
<location filename="settings.cpp" line="1482"/> <location filename="settings.cpp" line="1495"/>
<location filename="settings.cpp" line="1487"/> <location filename="settings.cpp" line="1500"/>
<source>Cannot find the %1 &quot;%2&quot;</source> <source>Cannot find the %1 &quot;%2&quot;</source>
<translation>%1&quot;%2&quot;</translation> <translation>%1&quot;%2&quot;</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2015"/> <location filename="settings.cpp" line="2028"/>
<source>C options</source> <source>C options</source>
<translation>C语言选项</translation> <translation>C语言选项</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2016"/> <location filename="settings.cpp" line="2029"/>
<source>Support all ANSI standard C programs (-ansi)</source> <source>Support all ANSI standard C programs (-ansi)</source>
<translation>ANSI标准C程序(-ansi)</translation> <translation>ANSI标准C程序(-ansi)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2017"/> <location filename="settings.cpp" line="2030"/>
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source> <source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
<translation>asminline和typeof作为关键字(-fno-asm)</translation> <translation>asminline和typeof作为关键字(-fno-asm)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2018"/> <location filename="settings.cpp" line="2031"/>
<source>Imitate traditional C preprocessors (-traditional-cpp)</source> <source>Imitate traditional C preprocessors (-traditional-cpp)</source>
<translation>仿C预处理器行为(-traditional-cpp)</translation> <translation>仿C预处理器行为(-traditional-cpp)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2021"/> <location filename="settings.cpp" line="2034"/>
<source>Code Generation</source> <source>Code Generation</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2050"/> <location filename="settings.cpp" line="2063"/>
<source>Optimize for the following machine (-march)</source> <source>Optimize for the following machine (-march)</source>
<translation>(-march)</translation> <translation>(-march)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2051"/> <location filename="settings.cpp" line="2064"/>
<source>Optimize less, while maintaining full compatibility (-tune)</source> <source>Optimize less, while maintaining full compatibility (-tune)</source>
<translation>(-tune)</translation> <translation>(-tune)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2071"/> <location filename="settings.cpp" line="2084"/>
<source>Enable use of specific instructions (-mx)</source> <source>Enable use of specific instructions (-mx)</source>
<translation>(-mx)</translation> <translation>(-mx)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2082"/> <location filename="settings.cpp" line="2095"/>
<source>Optimization level (-Ox)</source> <source>Optimization level (-Ox)</source>
<translation>(-Ox)</translation> <translation>(-Ox)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2089"/> <location filename="settings.cpp" line="2102"/>
<source>Compile with the following pointer size (-mx)</source> <source>Compile with the following pointer size (-mx)</source>
<translation>使(-mx)</translation> <translation>使(-mx)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2112"/> <location filename="settings.cpp" line="2125"/>
<source>Language standard (-std)</source> <source>Language standard (-std)</source>
<translation>(-std)</translation> <translation>(-std)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2125"/> <location filename="settings.cpp" line="2138"/>
<source>Profile</source> <source>Profile</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2134"/> <location filename="settings.cpp" line="2147"/>
<source>Generate debugging information (-g3)</source> <source>Generate debugging information (-g3)</source>
<translation>(-g3)</translation> <translation>(-g3)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2126"/> <location filename="settings.cpp" line="2139"/>
<source>Generate profiling info for analysis (-pg)</source> <source>Generate profiling info for analysis (-pg)</source>
<translation>(-pg)</translation> <translation>(-pg)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2115"/> <location filename="settings.cpp" line="2128"/>
<source>Warnings</source> <source>Warnings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2116"/> <location filename="settings.cpp" line="2129"/>
<source>Inhibit all warning messages (-w)</source> <source>Inhibit all warning messages (-w)</source>
<translation>(-w)</translation> <translation>(-w)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2117"/> <location filename="settings.cpp" line="2130"/>
<source>Show most warnings (-Wall)</source> <source>Show most warnings (-Wall)</source>
<translation>(-Wall)</translation> <translation>(-Wall)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2118"/> <location filename="settings.cpp" line="2131"/>
<source>Show some more warnings (-Wextra)</source> <source>Show some more warnings (-Wextra)</source>
<translation>(-Wextra)</translation> <translation>(-Wextra)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2119"/> <location filename="settings.cpp" line="2132"/>
<source>Check ISO C/C++/C++0x conformance (-pedantic)</source> <source>Check ISO C/C++/C++0x conformance (-pedantic)</source>
<translation>ISO C/C++/C++0x(-pedantic)</translation> <translation>ISO C/C++/C++0x(-pedantic)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2120"/> <location filename="settings.cpp" line="2133"/>
<source>Only check the code for syntax errors (-fsyntax-only)</source> <source>Only check the code for syntax errors (-fsyntax-only)</source>
<translation>(-fsyntax-only)</translation> <translation>(-fsyntax-only)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2121"/> <location filename="settings.cpp" line="2134"/>
<source>Make all warnings into errors (-Werror)</source> <source>Make all warnings into errors (-Werror)</source>
<translation>(-Werror)</translation> <translation>(-Werror)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2122"/> <location filename="settings.cpp" line="2135"/>
<source>Abort compilation on first error (-Wfatal-errors)</source> <source>Abort compilation on first error (-Wfatal-errors)</source>
<translation>(-Wfatal-errors)</translation> <translation>(-Wfatal-errors)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2129"/> <location filename="settings.cpp" line="2142"/>
<source>Linker</source> <source>Linker</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2130"/> <location filename="settings.cpp" line="2143"/>
<source>Link an Objective C program (-lobjc)</source> <source>Link an Objective C program (-lobjc)</source>
<translation>Objective-C程序 (-lobjc)</translation> <translation>Objective-C程序 (-lobjc)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2131"/> <location filename="settings.cpp" line="2144"/>
<source>Do not use standard system libraries (-nostdlib)</source> <source>Do not use standard system libraries (-nostdlib)</source>
<translation>使(-nostdlib)</translation> <translation>使(-nostdlib)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2132"/> <location filename="settings.cpp" line="2145"/>
<source>Do not create a console window (-mwindows)</source> <source>Do not create a console window (-mwindows)</source>
<translation>(-mwindows)</translation> <translation>(-mwindows)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2133"/> <location filename="settings.cpp" line="2146"/>
<source>Strip executable (-s)</source> <source>Strip executable (-s)</source>
<translation>(-s)</translation> <translation>(-s)</translation>
</message> </message>
@ -5064,43 +5064,43 @@ Are you really want to continue?</source>
<translation type="vanished">Ojbective C程序(-lobjc)</translation> <translation type="vanished">Ojbective C程序(-lobjc)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2137"/> <location filename="settings.cpp" line="2150"/>
<source>Output</source> <source>Output</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2138"/> <location filename="settings.cpp" line="2151"/>
<source>Put comments in generated assembly code (-fverbose-asm)</source> <source>Put comments in generated assembly code (-fverbose-asm)</source>
<translation>(-fverbose-asm)</translation> <translation>(-fverbose-asm)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2140"/> <location filename="settings.cpp" line="2153"/>
<source>Use pipes instead of temporary files during compilation (-pipe)</source> <source>Use pipes instead of temporary files during compilation (-pipe)</source>
<translation>使(-pipe)</translation> <translation>使(-pipe)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2139"/> <location filename="settings.cpp" line="2152"/>
<source>Do not assemble, compile and generate the assemble code (-S)</source> <source>Do not assemble, compile and generate the assemble code (-S)</source>
<translation>(-S)</translation> <translation>(-S)</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2356"/> <location filename="settings.cpp" line="2369"/>
<location filename="settings.cpp" line="2381"/> <location filename="settings.cpp" line="2394"/>
<source>Confirm</source> <source>Confirm</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2357"/> <location filename="settings.cpp" line="2370"/>
<source>The following problems were found during validation of compiler set &quot;%1&quot;:</source> <source>The following problems were found during validation of compiler set &quot;%1&quot;:</source>
<translation>&quot;%1&quot;</translation> <translation>&quot;%1&quot;</translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2382"/> <location filename="settings.cpp" line="2395"/>
<source>Compiler set not configuared.</source> <source>Compiler set not configuared.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="2384"/> <location filename="settings.cpp" line="2397"/>
<source>Would you like Red Panda C++ to search for compilers in the following locations: &lt;BR /&gt;&apos;%1&apos;&lt;BR /&gt;&apos;%2&apos;? </source> <source>Would you like Red Panda C++ to search for compilers in the following locations: &lt;BR /&gt;&apos;%1&apos;&lt;BR /&gt;&apos;%2&apos;? </source>
<translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation> <translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation>
</message> </message>
@ -6415,17 +6415,22 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="285"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="297"/>
<source>Mouse Wheel Scroll Speed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="333"/>
<source>Show right edge line</source> <source>Show right edge line</source>
<translation>线</translation> <translation>线</translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="297"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="345"/>
<source>Right egde width</source> <source>Right egde width</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="349"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="397"/>
<source>Right edge line color</source> <source>Right edge line color</source>
<translation></translation> <translation></translation>
</message> </message>

View File

@ -3619,6 +3619,8 @@ void Editor::applySettings()
} else { } else {
setRightEdge(0); setRightEdge(0);
} }
setMouseWheelScrollSpeed(pSettings->editor().mouseWheelScrollSpeed());
} }
static PSynHighlighterAttribute createRainbowAttribute(const QString& attrName, const QString& schemeName, const QString& schemeItemName) { static PSynHighlighterAttribute createRainbowAttribute(const QString& attrName, const QString& schemeName, const QString& schemeItemName) {

View File

@ -66,6 +66,8 @@ SynEdit::SynEdit(QWidget *parent) : QAbstractScrollArea(parent)
// fRightEdge has to be set before FontChanged is called for the first time // fRightEdge has to be set before FontChanged is called for the first time
mRightEdge = 80; mRightEdge = 80;
mMouseWheelScrollSpeed = 1;
mGutter.setRightOffset(21); mGutter.setRightOffset(21);
mGutter.connect(&mGutter, &SynGutter::changed, this, &SynEdit::onGutterChanged); mGutter.connect(&mGutter, &SynGutter::changed, this, &SynEdit::onGutterChanged);
mGutterWidth = mGutter.realGutterWidth(charWidth()); mGutterWidth = mGutter.realGutterWidth(charWidth());
@ -3343,6 +3345,16 @@ void SynEdit::onScrolled(int)
invalidate(); invalidate();
} }
int SynEdit::mouseWheelScrollSpeed() const
{
return mMouseWheelScrollSpeed;
}
void SynEdit::setMouseWheelScrollSpeed(int newMouseWheelScrollSpeed)
{
mMouseWheelScrollSpeed = newMouseWheelScrollSpeed;
}
const PSynHighlighterAttribute &SynEdit::rainbowAttr3() const const PSynHighlighterAttribute &SynEdit::rainbowAttr3() const
{ {
return mRainbowAttr3; return mRainbowAttr3;
@ -5643,11 +5655,11 @@ void SynEdit::leaveEvent(QEvent *)
void SynEdit::wheelEvent(QWheelEvent *event) void SynEdit::wheelEvent(QWheelEvent *event)
{ {
if (event->angleDelta().y()>0) { if (event->angleDelta().y()>0) {
verticalScrollBar()->setValue(verticalScrollBar()->value()-1); verticalScrollBar()->setValue(verticalScrollBar()->value()-mMouseWheelScrollSpeed);
event->accept(); event->accept();
return; return;
} else if (event->angleDelta().y()<0) { } else if (event->angleDelta().y()<0) {
verticalScrollBar()->setValue(verticalScrollBar()->value()+1); verticalScrollBar()->setValue(verticalScrollBar()->value()+mMouseWheelScrollSpeed);
event->accept(); event->accept();
return; return;
} }

View File

@ -373,6 +373,9 @@ public:
const PSynHighlighterAttribute &rainbowAttr3() const; const PSynHighlighterAttribute &rainbowAttr3() const;
int mouseWheelScrollSpeed() const;
void setMouseWheelScrollSpeed(int newMouseWheelScrollSpeed);
signals: signals:
void linesDeleted(int FirstLine, int Count); void linesDeleted(int FirstLine, int Count);
void linesInserted(int FirstLine, int Count); void linesInserted(int FirstLine, int Count);
@ -677,6 +680,8 @@ private:
QString mInputPreeditString; QString mInputPreeditString;
int mMouseWheelScrollSpeed;
friend class SynEditTextPainter; friend class SynEditTextPainter;
// QWidget interface // QWidget interface

View File

@ -497,6 +497,16 @@ void Settings::Editor::setFillIndents(bool newFillIndents)
mfillIndents = newFillIndents; mfillIndents = newFillIndents;
} }
int Settings::Editor::mouseWheelScrollSpeed() const
{
return mMouseWheelScrollSpeed;
}
void Settings::Editor::setMouseWheelScrollSpeed(int newMouseWheelScrollSpeed)
{
mMouseWheelScrollSpeed = newMouseWheelScrollSpeed;
}
bool Settings::Editor::enableTooltips() const bool Settings::Editor::enableTooltips() const
{ {
return mEnableTooltips; return mEnableTooltips;
@ -983,6 +993,7 @@ void Settings::Editor::doSave()
saveValue("scroll_past_eol", mScrollPastEol); saveValue("scroll_past_eol", mScrollPastEol);
saveValue("scroll_by_one_less", mScrollByOneLess); saveValue("scroll_by_one_less", mScrollByOneLess);
saveValue("half_page_scroll", mHalfPageScroll); saveValue("half_page_scroll", mHalfPageScroll);
saveValue("mouse_wheel_scroll_speed", mMouseWheelScrollSpeed);
//right edge //right edge
saveValue("show_right_edge_line",mShowRightEdgeLine); saveValue("show_right_edge_line",mShowRightEdgeLine);
@ -1090,6 +1101,8 @@ void Settings::Editor::doLoad()
mScrollPastEol = boolValue("scroll_past_eol", true); mScrollPastEol = boolValue("scroll_past_eol", true);
mScrollByOneLess = boolValue("scroll_by_one_less", false); mScrollByOneLess = boolValue("scroll_by_one_less", false);
mHalfPageScroll = boolValue("half_page_scroll",false); mHalfPageScroll = boolValue("half_page_scroll",false);
mMouseWheelScrollSpeed = intValue("mouse_wheel_scroll_speed", 3);
//right edge //right edge
mShowRightEdgeLine = boolValue("show_right_edge_line",false); mShowRightEdgeLine = boolValue("show_right_edge_line",false);

View File

@ -323,6 +323,9 @@ public:
bool fillIndents() const; bool fillIndents() const;
void setFillIndents(bool newFillIndents); void setFillIndents(bool newFillIndents);
int mouseWheelScrollSpeed() const;
void setMouseWheelScrollSpeed(int newMouseWheelScrollSpeed);
private: private:
//General //General
// indents // indents
@ -348,6 +351,7 @@ public:
bool mScrollPastEol; bool mScrollPastEol;
bool mScrollByOneLess; bool mScrollByOneLess;
bool mHalfPageScroll; bool mHalfPageScroll;
int mMouseWheelScrollSpeed;
//right margin //right margin
bool mShowRightEdgeLine; bool mShowRightEdgeLine;

View File

@ -59,6 +59,8 @@ void EditorGeneralWidget::doLoad()
ui->chkScrollPastEOL->setChecked(pSettings->editor().scrollPastEol()); ui->chkScrollPastEOL->setChecked(pSettings->editor().scrollPastEol());
ui->chkScrollHalfPage->setChecked(pSettings->editor().halfPageScroll()); ui->chkScrollHalfPage->setChecked(pSettings->editor().halfPageScroll());
ui->chkScrollByOneLess->setChecked(pSettings->editor().scrollByOneLess()); ui->chkScrollByOneLess->setChecked(pSettings->editor().scrollByOneLess());
ui->spinMouseWheelScrollSpeed->setValue(pSettings->editor().mouseWheelScrollSpeed());
//right margin line; //right margin line;
ui->grpRightEdge->setChecked(pSettings->editor().showRightEdgeLine()); ui->grpRightEdge->setChecked(pSettings->editor().showRightEdgeLine());
ui->spRightEdge->setValue(pSettings->editor().rightEdgeWidth()); ui->spRightEdge->setValue(pSettings->editor().rightEdgeWidth());
@ -90,6 +92,7 @@ void EditorGeneralWidget::doSave()
pSettings->editor().setScrollPastEol(ui->chkScrollPastEOL->isChecked()); pSettings->editor().setScrollPastEol(ui->chkScrollPastEOL->isChecked());
pSettings->editor().setScrollByOneLess(ui->chkScrollByOneLess->isChecked()); pSettings->editor().setScrollByOneLess(ui->chkScrollByOneLess->isChecked());
pSettings->editor().setHalfPageScroll(ui->chkScrollHalfPage->isChecked()); pSettings->editor().setHalfPageScroll(ui->chkScrollHalfPage->isChecked());
pSettings->editor().setMouseWheelScrollSpeed(ui->spinMouseWheelScrollSpeed->value());
//right margin line; //right margin line;
pSettings->editor().setShowRightEdgeLine(ui->grpRightEdge->isChecked()); pSettings->editor().setShowRightEdgeLine(ui->grpRightEdge->isChecked());

View File

@ -276,6 +276,54 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QWidget" name="widget_6" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Mouse Wheel Scroll Speed</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinMouseWheelScrollSpeed">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>