plugingui.h
来自「一个非常好的GIS开源新版本」· C头文件 代码 · 共 55 行
H
55 行
/*************************************************************************** * Copyright (C) 2003 by Tim Sutton * * tim@linfiniti.com * * * * This is a plugin generated from the QGIS plugin template * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/#ifndef QGSCOPYRIGHTLABELPLUGINGUI_H#define QGSCOPYRIGHTLABELPLUGINGUI_H#include <ui_pluginguibase.h>#include <QColor>#include <QFont>/**@author Tim Sutton*/class QgsCopyrightLabelPluginGui : public QDialog, private Ui::QgsCopyrightLabelPluginGuiBase{Q_OBJECT;public: QgsCopyrightLabelPluginGui( QWidget* parent = 0, Qt::WFlags fl = 0 ); ~QgsCopyrightLabelPluginGui(); void setText(QString); void setPlacementLabels(QStringList&); void setPlacement(int); void setColor(QColor); void setEnabled(bool); private slots: void on_buttonBox_accepted(); void on_buttonBox_rejected(); void on_buttonBox_helpRequested(); void on_pbnColorChooser_clicked(); private: static const int context_id = 32338213; signals: //void drawRasterLayer(QString); //void drawVectorrLayer(QString,QString,QString); void changeFont(QFont); void changeLabel(QString); void changeColor(QColor); void changePlacement(int); void enableCopyrightLabel(bool); };#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?