Commit 2a32aa8f authored by Jan Möbius's avatar Jan Möbius
Browse files

Implemented arbitrary read order for text files

parent 9f50f53c
This diff is collapsed.
......@@ -81,6 +81,7 @@
#include <QGroupBox>
#include <QPushButton>
#include "ui_ptsLoadWidget.h"
//== CLASS DEFINITION ============================================
......@@ -105,6 +106,15 @@ public:
virtual DataType adaptorType() = 0;
};
class ptsLoadWiget : public QWidget, public Ui::ptsLoadWidget
{
Q_OBJECT
public:
explicit ptsLoadWiget(QWidget *parent = 0) : QWidget(parent) { setupUi(this); };
};
class FilePTSPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, RPCInterface, AboutInfoInterface
{
......@@ -186,19 +196,9 @@ private:
// widgets
QWidget *loadOptions_;
ptsLoadWiget *loadOptions_;
QWidget *saveOptions_;
// options in the loading menu
QComboBox *loadType_;
QCheckBox *loadBinaryFile_;
QCheckBox *pointCount_;
QCheckBox *loadNormals_;
QCheckBox *loadPointsizes_;
QCheckBox *loadColors_;
QComboBox *loadColorRange_;
QCheckBox *loadIndices_;
// options in the saving menu
QCheckBox *saveBinaryFile_;
QCheckBox *saveNormals_;
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>273</width>
<height>412</height>
<width>307</width>
<height>447</height>
</rect>
</property>
<property name="windowTitle">
......@@ -86,12 +86,18 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QListWidget" name="listWidget">
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::NoDragDrop</enum>
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
<property name="viewMode">
<enum>QListView::ListMode</enum>
</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment