Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
fmitem.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
/***************************************************************************
8
fmitem.h - description
9
-------------------
10
begin : Sun May 13 2001
11
copyright : (C) 2001 by Franz Schmid
12
email : Franz.Schmid@altmuehlnet.de
13
***************************************************************************/
14
15
/***************************************************************************
16
* *
17
* This program is free software; you can redistribute it and/or modify *
18
* it under the terms of the GNU General Public License as published by *
19
* the Free Software Foundation; either version 2 of the License, or *
20
* (at your option) any later version. *
21
* *
22
***************************************************************************/
23
24
#ifndef FMITEM_H
25
#define FMITEM_H
26
27
#include <QSize>
28
#include <QPainter>
29
#include <QFont>
30
#include <QString>
31
#include <QMenuData>
32
33
#include "scfonts.h"
34
#include "scribusapi.h"
35
40
class
SCRIBUS_API
FmItem
:
public
QCustomMenuItem
41
{
42
public
:
43
FmItem
(
const
QString& s,
const
ScFace
& f);
44
~
FmItem
() {};
45
void
paint(QPainter *p,
const
QColorGroup& cg,
bool
act,
bool
enabled,
int
x,
int
y,
int
w,
int
h);
46
QSize sizeHint();
47
QString Ctext();
48
49
private
:
50
QString stringy;
51
QFont font;
52
};
53
54
#endif
FmItem
Definition:
fmitem.h:40
ScFace
Base Class ScFace : This is a total rewrite of the old Foi class.
Definition:
scface.h:73
scribus
ui
fmitem.h
Generated on Tue Sep 29 2015 09:15:18 for Scribus by
1.8.9.1