summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-06-01 17:13:40 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-06-01 17:13:40 (GMT)
commite8ab1af885ff61715ab0350c3cb22ed6988a082a (patch)
treeabfd1f18bf6bda8865c1269c1ecb4a1b4ff802d0 /Swift/QtUI/Whiteboard/Window.h
parent4f9ad66f222d4bf1cb740a9e1b4b4496cfbc0910 (diff)
downloadswift-contrib-e8ab1af885ff61715ab0350c3cb22ed6988a082a.zip
swift-contrib-e8ab1af885ff61715ab0350c3cb22ed6988a082a.tar.bz2
Added simple whiteboard payload and it's parser and serializer
Diffstat (limited to 'Swift/QtUI/Whiteboard/Window.h')
-rw-r--r--Swift/QtUI/Whiteboard/Window.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/Swift/QtUI/Whiteboard/Window.h b/Swift/QtUI/Whiteboard/Window.h
deleted file mode 100644
index 4423f7c..0000000
--- a/Swift/QtUI/Whiteboard/Window.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2012 Mateusz Piękos
- * Licensed under the simplified BSD license.
- * See Documentation/Licenses/BSD-simplified.txt for more information.
- */
-
-#pragma once
-
-#include <QWidget>
-#include <QGraphicsView>
-#include <QGraphicsScene>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QGridLayout>
-#include <QPainter>
-#include <QPushButton>
-#include <QSpinBox>
-#include <QColorDialog>
-#include <QToolButton>
-
-#include "GView.h"
-
-namespace Swift {
- class Window : public QWidget
- {
- Q_OBJECT;
- public:
- Window();
-
- private slots:
- void changeLineWidth(int i);
- void showColorDialog();
- void showBrushColorDialog();
- void setRubberMode();
- void setLineMode();
- void setRectMode();
- void setCircleMode();
- void setHandLineMode();
- void setFilledHandLineMode();
- void setTextMode();
- void setPolygonMode();
- void setSelectMode();
-
- private:
- QGraphicsScene* scene;
- GView* graphicsView;
- QVBoxLayout* layout;
- QVBoxLayout* sidebarLayout;
- QHBoxLayout* hLayout;
- QGridLayout* toolboxLayout;
- QWidget* widget;
- QPushButton* moveUpButton;
- QPushButton* moveDownButton;
- QPushButton* colorDialogButton;
- QPushButton* brushColorDialogButton;
- QSpinBox* widthBox;
- QToolButton* rubberButton;
- QToolButton* lineButton;
- QToolButton* rectButton;
- QToolButton* circleButton;
- QToolButton* handLineButton;
- QToolButton* filledHandLineButton;
- QToolButton* textButton;
- QToolButton* polygonButton;
- QToolButton* selectButton;
- };
-}