Back to index

scribus-ng  1.3.4.dfsg+svn20071115
dcolor.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef DELCOLOR_H
00008 #define DELCOLOR_H
00009 
00010 class QDialog;
00011 class QLayout;
00012 class QLabel;
00013 class QPushbutton;
00014 class ColorCombo;
00015 
00016 #include "scribusapi.h"
00017 
00018 class SCRIBUS_API DelColor : public QDialog
00019 { 
00020     Q_OBJECT
00021 
00022 public:
00023     DelColor(QWidget* parent, ColorList colorList, QString colorName, bool haveDoc );
00024     ~DelColor() {};
00025        const QString getReplacementColor();
00026 
00027 private:
00028     QLabel* deleteLabel;
00029     QLabel* colorToDelLabel;
00030     QLabel* replaceLabel;
00031     QPushButton* okButton;
00032     QPushButton* cancelButton;
00033     ColorCombo* replacementColData;
00034     QVBoxLayout* dialogLayout;
00035     QGridLayout* delColorLayout;
00036     QHBoxLayout* okCancelLayout;
00037 
00038     QString replacementColor;
00039 
00040 private slots:
00041     virtual void ReplaceColor(int);
00042 };
00043 
00044 #endif // DELCOLOR_H