2015-10-28 17:31:21 +01:00
|
|
|
/***************************************************************************
|
|
|
|
qgsstylev2groupselectiondialog.h
|
|
|
|
---------------------
|
|
|
|
begin : Oct 2015
|
|
|
|
copyright : (C) 2015 by Alessandro Pasotti
|
|
|
|
email : elpaso at itopen dot it
|
|
|
|
|
|
|
|
***************************************************************************
|
|
|
|
* *
|
|
|
|
* 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. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsStyleV2GroupSelectionDialog : public QDialog, private Ui::SymbolsV2GroupSelectionDialogBase
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsstylev2groupselectiondialog.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2016-02-14 03:50:23 +01:00
|
|
|
QgsStyleV2GroupSelectionDialog( QgsStyleV2* style, QWidget *parent = 0 );
|
2015-10-28 17:31:21 +01:00
|
|
|
~QgsStyleV2GroupSelectionDialog();
|
|
|
|
//! Set bold font for item
|
2016-02-14 03:50:23 +01:00
|
|
|
void setBold( QStandardItem *item );
|
2015-10-28 17:31:21 +01:00
|
|
|
|
|
|
|
signals:
|
|
|
|
//! group with groupName has been selected
|
2015-11-16 09:10:26 +11:00
|
|
|
void groupSelected( const QString& groupName );
|
2015-10-28 17:31:21 +01:00
|
|
|
//! group with groupName has been deselected
|
2015-11-16 09:10:26 +11:00
|
|
|
void groupDeselected( const QString& groupName );
|
2015-10-28 17:31:21 +01:00
|
|
|
//! smartgroup with groupName has been selected
|
2016-02-14 03:50:23 +01:00
|
|
|
void smartgroupSelected( const QString& groupName );
|
2015-10-28 17:31:21 +01:00
|
|
|
//! smart group with groupName has been deselected
|
2015-11-16 09:10:26 +11:00
|
|
|
void smartgroupDeselected( const QString& groupName );
|
2015-10-28 17:31:21 +01:00
|
|
|
//! all deselected
|
2016-02-14 03:50:23 +01:00
|
|
|
void allDeselected();
|
2015-10-28 17:31:21 +01:00
|
|
|
//! all selected
|
2016-02-14 03:50:23 +01:00
|
|
|
void allSelected();
|
2015-10-28 17:31:21 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|