Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16956 → Rev 16957

/branches/ScribusOIF/scribus/ui/propertywidget_group.h
0,0 → 1,70
/*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
#ifndef PROPERTYWIDGET_GROUP_H
#define PROPERTYWIDGET_GROUP_H
 
#include "scribusapi.h"
#include "propertywidgetbase.h"
 
class QGroupBox;
 
class PropertyWidget_GroupShape;
class ScribusDoc;
class ScribusMainWindow;
class Tpalette;
 
class PropertyWidget_Group : public QFrame, public PropertyWidgetBase
{
Q_OBJECT
public:
PropertyWidget_Group(QWidget* parent);
~PropertyWidget_Group() {};
 
virtual void changeEvent(QEvent *e);
 
protected:
void connectSignals();
void disconnectSignals();
 
PageItem * m_item;
ScribusMainWindow* m_ScMW;
 
double m_unitRatio;
int m_unitIndex;
PropertyWidget_GroupShape* groupShapeWidget;
QGroupBox* transGroupBox;
Tpalette* groupTransWidget;
 
void enableFromSelection(void);
void setCurrentItem(PageItem *item);
 
public slots:
void setMainWindow(ScribusMainWindow *mw);
void setDoc(ScribusDoc *d);
void handleSelectionChanged();
void handleUpdateRequest(int);
 
void languageChange();
void unitChange();
private slots:
 
void handleGradientChanged();
void handleGroupTransparency(double trans);
void handleGroupBlending(int blend);
void handleGroupGradMask(int typ);
void handleGroupPatternMask(QString pattern);
void handleGroupPatternMaskProps(double, double, double, double, double, double, double, bool, bool);
 
void handleSpecialGradient(double, double, double, double, double, double, double, double );
void handleGradientEdit();
};
 
#endif