removed unused includes

these files don't use the debug.h and also don't contain commented out debug code
This commit is contained in:
Uwe Stöhr 2012-06-26 22:41:53 +02:00
parent dfb8dc91c1
commit a6e42e5079
15 changed files with 148 additions and 134 deletions

View File

@ -30,7 +30,6 @@
#include "insets/InsetBibtex.h"
#include "support/debug.h"
#include "support/ExceptionMessage.h"
#include "support/FileName.h"
#include "support/filetools.h" // changeExtension

View File

@ -9,7 +9,6 @@
*/
#include <config.h>
#include <support/debug.h>
#include "GuiCompareHistory.h"

View File

@ -25,7 +25,6 @@
#include "version.h"
#include "support/lassert.h"
#include "support/debug.h"
#include <QApplication>
#include <QHeaderView>

View File

@ -15,8 +15,6 @@
#include "GuiView.h"
#include "qt_helpers.h"
#include "support/debug.h"
#include <QCloseEvent>
using namespace std;

View File

@ -22,7 +22,6 @@
#include "insets/InsetInfo.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"

View File

@ -21,7 +21,6 @@
#include "insets/InsetLine.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"

View File

@ -21,7 +21,6 @@
#include "insets/InsetListingsParams.h"
#include "support/convert.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"

View File

@ -28,7 +28,6 @@
#include "ParagraphParameters.h"
#include "Spacing.h"
#include "support/debug.h"
#include "support/gettext.h"
#include <QCheckBox>

View File

@ -21,7 +21,6 @@
#include "insets/InsetNomencl.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"

View File

@ -16,8 +16,6 @@
#include "GuiSelectionManager.h"
#include "support/debug.h"
#include <QAbstractListModel>
#include <QItemSelection>
#include <QListView>

View File

@ -32,7 +32,6 @@
#include "insets/InsetTabular.h"
#include "support/convert.h"
#include "support/debug.h"
#include <QCheckBox>
#include <QPushButton>

View File

@ -24,7 +24,6 @@
#include "lyxfind.h"
#include "WordLangTuple.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"

View File

@ -23,7 +23,6 @@
#include "BufferParams.h"
#include "FuncRequest.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lassert.h"

View File

@ -39,7 +39,6 @@
#include "FuncStatus.h"
#include "LyX.h"
#include "support/debug.h"
#include "support/lstrings.h"
using namespace std;

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BoxUi</class>
<widget class="QWidget" name="BoxUi">
@ -15,13 +16,121 @@
<property name="sizeGripEnabled" stdset="0">
<bool>true</bool>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="typeLA">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Decoration:</string>
</property>
<property name="buddy">
<cstring>typeCO</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="typeCO">
<property name="toolTip">
<string>Supported box types</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="innerBoxLA">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Inner Bo&amp;x:</string>
</property>
<property name="buddy">
<cstring>innerBoxCO</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="innerBoxCO">
<property name="toolTip">
<string>Inner box -- needed for fixed width &amp; line breaks</string>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Parbox</string>
</property>
</item>
<item>
<property name="text">
<string>Minipage</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="widthCB">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Width:</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="widthED">
<property name="toolTip">
<string>Width value</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="LengthCombo" name="widthUnitsLC"/>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="heightCB">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Height:</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="heightED">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Height value</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="LengthCombo" name="heightUnitsLC">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="pagebreakCB">
<property name="toolTip">
@ -181,117 +290,6 @@
</layout>
</widget>
</item>
<item row="3" column="2">
<widget class="LengthCombo" name="heightUnitsLC">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="heightCB">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Height:</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="innerBoxLA">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Inner Bo&amp;x:</string>
</property>
<property name="buddy">
<cstring>innerBoxCO</cstring>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="LengthCombo" name="widthUnitsLC"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="typeLA">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Decoration:</string>
</property>
<property name="buddy">
<cstring>typeCO</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="widthLA">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Width:</string>
</property>
<property name="buddy">
<cstring>widthED</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="heightED">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Height value</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="widthED">
<property name="toolTip">
<string>Width value</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="innerBoxCO">
<property name="toolTip">
<string>Inner box -- needed for fixed width &amp; line breaks</string>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Parbox</string>
</property>
</item>
<item>
<property name="text">
<string>Minipage</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="typeCO">
<property name="toolTip">
<string>Supported box types</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
@ -350,5 +348,37 @@
</hint>
</hints>
</connection>
<connection>
<sender>widthCB</sender>
<signal>toggled(bool)</signal>
<receiver>widthED</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>37</x>
<y>70</y>
</hint>
<hint type="destinationlabel">
<x>124</x>
<y>70</y>
</hint>
</hints>
</connection>
<connection>
<sender>widthCB</sender>
<signal>toggled(bool)</signal>
<receiver>widthUnitsLC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>37</x>
<y>70</y>
</hint>
<hint type="destinationlabel">
<x>217</x>
<y>70</y>
</hint>
</hints>
</connection>
</connections>
</ui>