3
/****************************************************************************
4
** ui.h extension file, included from the uic-generated form implementation.
6
** If you wish to add, delete or rename functions or slots use
7
** Qt Designer which will update this file, preserving your code. Create an
8
** init() function in place of a constructor, and a destroy() function in
9
** place of a destructor.
10
*****************************************************************************/
11
#include <qcolordialog.h>
13
#include <qfontdialog.h>
16
void QgsCopyrightLabelPluginGuiBase::pbnOK_clicked()
22
void QgsCopyrightLabelPluginGuiBase::pbnCancel_clicked()
28
void QgsCopyrightLabelPluginGuiBase::btnFontColour_clicked()
30
QColor myQColor = QColorDialog::getColor();
31
txtCopyrightText->setPaletteForegroundColor(myQColor);
35
void QgsCopyrightLabelPluginGuiBase::btnFontFace_clicked()
38
QFont myFont = QFontDialog::getFont(
39
&ok, QFont( "Helvetica", 10 ), this );
41
// font is set to the font the user selected
42
txtCopyrightText->setCurrentFont(myFont);
44
// the user canceled the dialog; font is set to the initial
45
// value, in this case Helvetica [Cronyx], 10
52
void QgsCopyrightLabelPluginGuiBase::cboxEnabled_toggled( bool )
58
void QgsCopyrightLabelPluginGuiBase::cboOrientation_textChanged( const QString & )
64
void QgsCopyrightLabelPluginGuiBase::cboPlacement_highlighted( const QString & )