mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
43 lines
1.5 KiB
C++
43 lines
1.5 KiB
C++
/***************************************************************************
|
|
qgsdashspacedialog.h
|
|
---------------------
|
|
begin : January 2010
|
|
copyright : (C) 2010 by Marco Hugentobler
|
|
email : marco at hugis dot net
|
|
***************************************************************************
|
|
* *
|
|
* 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 QGSDASHSPACEDIALOG_H
|
|
#define QGSDASHSPACEDIALOG_H
|
|
|
|
#include "ui_qgsdashspacedialogbase.h"
|
|
#include "qgis_gui.h"
|
|
#include "qgis_sip.h"
|
|
|
|
/**
|
|
* \ingroup gui
|
|
* A dialog to enter a custom dash space pattern for lines
|
|
*/
|
|
class GUI_EXPORT QgsDashSpaceDialog: public QDialog, private Ui::QgsDashSpaceDialogBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
//! Constructor for QgsDashSpaceDialog
|
|
QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags f = nullptr );
|
|
|
|
QVector<qreal> dashDotVector() const;
|
|
|
|
private slots:
|
|
void mAddButton_clicked();
|
|
void mRemoveButton_clicked();
|
|
};
|
|
|
|
#endif // QGSDASHSPACEDIALOG_H
|