GUI: Scratchpad: Add help texts; run astyle (#1104)
This adds labels with short explanations on how the scratchpad can be used.
This commit is contained in:
parent
5fc8f13fd6
commit
df34164b9f
|
@ -549,7 +549,7 @@ void MainWindow::analyzeCode(const QString& code, const QString& filename)
|
|||
analysisDone();
|
||||
|
||||
// Expand results
|
||||
if(mUI.mResults->hasVisibleResults())
|
||||
if (mUI.mResults->hasVisibleResults())
|
||||
mUI.mResults->expandAllResults();
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,13 @@
|
|||
<string>Scratchpad</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_sourcecode">
|
||||
<property name="text">
|
||||
<string>Copy or write some C/C++ code here:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="plainTextEdit">
|
||||
<property name="font">
|
||||
|
@ -24,9 +31,25 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_filename">
|
||||
<property name="text">
|
||||
<string>Optionally enter a filename (mainly for automatic language detection) and click on "Check":</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="margin">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue