summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/newpagedialog.h
Side-by-side diff
Diffstat (limited to 'noncore/graphics/drawpad/newpagedialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/newpagedialog.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/noncore/graphics/drawpad/newpagedialog.h b/noncore/graphics/drawpad/newpagedialog.h
index a2b6b87..f418340 100644
--- a/noncore/graphics/drawpad/newpagedialog.h
+++ b/noncore/graphics/drawpad/newpagedialog.h
@@ -13,28 +13,33 @@
#ifndef NEWPAGEDIALOG_H
#define NEWPAGEDIALOG_H
#include <qdialog.h>
+class QButtonGroup;
class QSpinBox;
class NewPageDialog : public QDialog
{
Q_OBJECT
public:
- NewPageDialog(QWidget* parent = 0, const char* name = 0);
+ NewPageDialog(uint width, uint height, const QColor& foregroundColor,
+ const QColor& backgroundColor, QWidget* parent = 0, const char* name = 0);
~NewPageDialog();
- void setWidth(int width);
- void setHeight(int height);
-
- int width();
- int height();
+ uint selectedWidth();
+ uint selectedHeight();
+ const QColor& selectedColor();
private:
QSpinBox* m_pWidthSpinBox;
QSpinBox* m_pHeightSpinBox;
+
+ QColor m_foregroundColor;
+ QColor m_backgroundColor;
+
+ QButtonGroup* m_pContentButtonGroup;
};
#endif // NEWPAGEDIALOG_H