~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/plugins/copyright_label/pluginguibase.ui.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
/****************************************************************************
4
 
** ui.h extension file, included from the uic-generated form implementation.
5
 
**
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> 
12
 
#include <qcolor.h>
13
 
#include <qfontdialog.h>
14
 
#include <qfont.h>
15
 
 
16
 
void QgsCopyrightLabelPluginGuiBase::pbnOK_clicked()
17
 
{
18
 
 
19
 
}
20
 
 
21
 
 
22
 
void QgsCopyrightLabelPluginGuiBase::pbnCancel_clicked()
23
 
{
24
 
 
25
 
}
26
 
 
27
 
 
28
 
void QgsCopyrightLabelPluginGuiBase::btnFontColour_clicked()
29
 
{
30
 
    QColor myQColor = QColorDialog::getColor();
31
 
    txtCopyrightText->setPaletteForegroundColor(myQColor);
32
 
}
33
 
 
34
 
 
35
 
void QgsCopyrightLabelPluginGuiBase::btnFontFace_clicked()
36
 
{
37
 
    bool ok;
38
 
    QFont myFont = QFontDialog::getFont(
39
 
                    &ok, QFont( "Helvetica", 10 ), this );
40
 
    if ( ok ) {
41
 
        // font is set to the font the user selected
42
 
        txtCopyrightText->setCurrentFont(myFont);
43
 
    } else {
44
 
        // the user canceled the dialog; font is set to the initial
45
 
        // value, in this case Helvetica [Cronyx], 10
46
 
    }
47
 
    
48
 
    
49
 
}
50
 
 
51
 
 
52
 
void QgsCopyrightLabelPluginGuiBase::cboxEnabled_toggled( bool )
53
 
{
54
 
 
55
 
}
56
 
 
57
 
 
58
 
void QgsCopyrightLabelPluginGuiBase::cboOrientation_textChanged( const QString & )
59
 
{
60
 
 
61
 
}
62
 
 
63
 
 
64
 
void QgsCopyrightLabelPluginGuiBase::cboPlacement_highlighted( const QString & )
65
 
{
66
 
 
67
 
}