aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fakevim/fakevimoptions.ui
diff options
context:
space:
mode:
authorLukas Holecek <hluk@email.cz>2013-02-14 19:12:30 +0100
committerhjk <hjk121@nokiamail.com>2013-02-18 17:32:01 +0100
commit0809986e501415fe2c8508800b94b5b3169dc048 (patch)
tree4080143b4480e5b624832debaea70500645f7cc3 /src/plugins/fakevim/fakevimoptions.ui
parent1ffe15a471fa763f55d45c95cf833819860e1a74 (diff)
FakeVim: User-settable path to .vimrc with saner default for Windows
Path to .vimrc configuration file can be set in options if "Read .vimrc" option is enabled. Default path for .vimrc is %USERPROFILE%/_vimrc on Windows, ~/.vimrc otherwise. Task-number: QTCREATORBUG-8748 Change-Id: I61ff8484e7635ce7a9361e2ad5cd3943e15613c1 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/fakevim/fakevimoptions.ui')
-rw-r--r--src/plugins/fakevim/fakevimoptions.ui194
1 files changed, 111 insertions, 83 deletions
diff --git a/src/plugins/fakevim/fakevimoptions.ui b/src/plugins/fakevim/fakevimoptions.ui
index f8275b8aca..25e12a0835 100644
--- a/src/plugins/fakevim/fakevimoptions.ui
+++ b/src/plugins/fakevim/fakevimoptions.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>513</width>
- <height>464</height>
+ <height>468</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
@@ -24,27 +24,36 @@
<string>Vim Behavior</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="5" column="2">
- <widget class="QCheckBox" name="checkBoxPassControlKey">
- <property name="toolTip">
- <string>Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim.</string>
- </property>
+ <item row="3" column="0" colspan="2">
+ <widget class="QCheckBox" name="checkBoxSmartTab">
<property name="text">
- <string>Pass control key</string>
+ <string>Smart tabulators</string>
</property>
</widget>
</item>
- <item row="4" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBoxHlSearch">
- <property name="text">
- <string>Highlight search results</string>
+ <item row="10" column="1" colspan="2">
+ <widget class="QLineEdit" name="lineEditIsKeyword"/>
+ </item>
+ <item row="12" column="0">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- </widget>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>17</width>
+ <height>10</height>
+ </size>
+ </property>
+ </spacer>
</item>
- <item row="5" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBoxIncSearch">
+ <item row="1" column="2">
+ <widget class="QCheckBox" name="checkBoxUseCoreSearch">
<property name="text">
- <string>Incremental search</string>
+ <string>Use search dialog</string>
</property>
</widget>
</item>
@@ -62,6 +71,13 @@
</property>
</widget>
</item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QCheckBox" name="checkBoxExpandTab">
+ <property name="text">
+ <string>Expand tabulators</string>
+ </property>
+ </widget>
+ </item>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="checkBoxAutoIndent">
<property name="text">
@@ -69,10 +85,27 @@
</property>
</widget>
</item>
- <item row="8" column="1" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item row="5" column="2">
+ <widget class="QCheckBox" name="checkBoxPassControlKey">
+ <property name="toolTip">
+ <string>Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim.</string>
+ </property>
+ <property name="text">
+ <string>Pass control key</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0" colspan="2">
+ <widget class="QCheckBox" name="checkBoxHlSearch">
+ <property name="text">
+ <string>Highlight search results</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
- <widget class="QSpinBox" name="spinBoxTabStop">
+ <widget class="QSpinBox" name="spinBoxShiftWidth">
<property name="minimum">
<number>1</number>
</property>
@@ -82,7 +115,7 @@
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_3">
+ <spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -96,20 +129,17 @@
</item>
</layout>
</item>
- <item row="9" column="0">
- <widget class="QLabel" name="labelBackspace">
+ <item row="6" column="0">
+ <widget class="QCheckBox" name="checkBoxShowCmd">
<property name="text">
- <string>Backspace:</string>
+ <string>Show partial command</string>
</property>
</widget>
</item>
- <item row="9" column="1" colspan="2">
- <widget class="QLineEdit" name="lineEditBackspace"/>
- </item>
- <item row="10" column="0">
- <widget class="QLabel" name="labelIsKeyword">
+ <item row="9" column="0">
+ <widget class="QLabel" name="labelBackspace">
<property name="text">
- <string>Keyword characters:</string>
+ <string>Backspace:</string>
</property>
</widget>
</item>
@@ -123,7 +153,24 @@
</property>
</widget>
</item>
- <item row="12" column="0" colspan="3">
+ <item row="9" column="1" colspan="2">
+ <widget class="QLineEdit" name="lineEditBackspace"/>
+ </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="labelShiftWidth">
+ <property name="text">
+ <string>Shift width:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0" colspan="2">
+ <widget class="QCheckBox" name="checkBoxIncSearch">
+ <property name="text">
+ <string>Incremental search</string>
+ </property>
+ </widget>
+ </item>
+ <item row="13" column="0" colspan="3">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButtonCopyTextEditorSettings">
@@ -161,20 +208,6 @@
</item>
</layout>
</item>
- <item row="7" column="0">
- <widget class="QLabel" name="labelShiftWidth">
- <property name="text">
- <string>Shift width:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBoxExpandTab">
- <property name="text">
- <string>Expand tabulators</string>
- </property>
- </widget>
- </item>
<item row="4" column="2">
<widget class="QCheckBox" name="checkBoxShowMarks">
<property name="text">
@@ -182,39 +215,6 @@
</property>
</widget>
</item>
- <item row="3" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBoxSmartTab">
- <property name="text">
- <string>Smart tabulators</string>
- </property>
- </widget>
- </item>
- <item row="10" column="1" colspan="2">
- <widget class="QLineEdit" name="lineEditIsKeyword"/>
- </item>
- <item row="11" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>17</width>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2">
- <widget class="QCheckBox" name="checkBoxUseCoreSearch">
- <property name="text">
- <string>Use search dialog</string>
- </property>
- </widget>
- </item>
<item row="2" column="2">
<widget class="QCheckBox" name="checkBoxSmartCase">
<property name="text">
@@ -229,10 +229,10 @@
</property>
</widget>
</item>
- <item row="7" column="1" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item row="8" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
- <widget class="QSpinBox" name="spinBoxShiftWidth">
+ <widget class="QSpinBox" name="spinBoxTabStop">
<property name="minimum">
<number>1</number>
</property>
@@ -242,7 +242,7 @@
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_2">
+ <spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -256,10 +256,17 @@
</item>
</layout>
</item>
- <item row="6" column="0">
- <widget class="QCheckBox" name="checkBoxShowCmd">
+ <item row="10" column="0">
+ <widget class="QLabel" name="labelIsKeyword">
<property name="text">
- <string>Show partial command</string>
+ <string>Keyword characters:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="0">
+ <widget class="QLabel" name="labelVimRcPath">
+ <property name="text">
+ <string>Location of .vimrc:</string>
</property>
</widget>
</item>
@@ -270,6 +277,24 @@
</property>
</widget>
</item>
+ <item row="11" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayoutVimRcPath">
+ <item>
+ <widget class="QLineEdit" name="lineEditVimRcPath">
+ <property name="toolTip">
+ <string>Keep empty to use the default path, i.e. %USERPROFILE%\_vimrc on Windows, ~/.vimrc otherwise.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pushButtonVimRcPath">
+ <property name="text">
+ <string>Browse...</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
</item>
@@ -303,10 +328,13 @@
<tabstop>checkBoxWrapScan</tabstop>
<tabstop>checkBoxShowMarks</tabstop>
<tabstop>checkBoxPassControlKey</tabstop>
+ <tabstop>checkBoxReadVimRc</tabstop>
<tabstop>spinBoxShiftWidth</tabstop>
<tabstop>spinBoxTabStop</tabstop>
<tabstop>lineEditBackspace</tabstop>
<tabstop>lineEditIsKeyword</tabstop>
+ <tabstop>lineEditVimRcPath</tabstop>
+ <tabstop>pushButtonVimRcPath</tabstop>
<tabstop>pushButtonCopyTextEditorSettings</tabstop>
<tabstop>pushButtonSetQtStyle</tabstop>
<tabstop>pushButtonSetPlainStyle</tabstop>