1
/*****************************************************************************/
2
/* list.h - List selected entities */
4
/* Copyright (C) 2011 Rallaz, rallazz@gmail.com */
6
/* This library is free software, licensed under the terms of the GNU */
7
/* General Public License as published by the Free Software Foundation, */
8
/* either version 2 of the License, or (at your option) any later version. */
9
/* You should have received a copy of the GNU General Public License */
10
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
11
/*****************************************************************************/
17
#include "qc_plugininterface.h"
23
class LC_List : public QObject, QC_PluginInterface
26
Q_INTERFACES(QC_PluginInterface)
27
#if QT_VERSION >= 0x050000
28
Q_PLUGIN_METADATA(IID "org.librecad.list" FILE "list.json")
32
virtual PluginCapabilities getCapabilities() const;
33
virtual QString name() const;
34
virtual void execComm(Document_Interface *doc,
35
QWidget *parent, QString cmd);
38
QString getStrData(Plug_Entity *ent);
39
Document_Interface *d;
42
class lc_Listdlg : public QDialog
47
explicit lc_Listdlg(QWidget *parent = 0);
49
void setText(QString text);
52
// void processAction(QStringList *commandList);
53
// void processAction(Document_Interface *doc);
54
// void checkAccept();
57
// void closeEvent(QCloseEvent *event);
60
// void readSettings();
61
// void writeSettings();
62
// bool failGUI(QString *msg);
66
// QLineEdit *startxedit;
67
// QLineEdit *startyedit;
68
// QLineEdit *endxedit;