Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CGoGN
CGoGN
Commits
4081dfdc
Commit
4081dfdc
authored
Nov 29, 2012
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCHNApps : missing files
parent
9096488e
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
110 additions
and
0 deletions
+110
-0
SCHNApps/forms/cameraDialog.ui
SCHNApps/forms/cameraDialog.ui
+53
-0
SCHNApps/include/cameraViewDialog.h
SCHNApps/include/cameraViewDialog.h
+25
-0
SCHNApps/resources/icons/broken_link_32.png
SCHNApps/resources/icons/broken_link_32.png
+0
-0
SCHNApps/resources/icons/camera_32.png
SCHNApps/resources/icons/camera_32.png
+0
-0
SCHNApps/resources/icons/check_32.png
SCHNApps/resources/icons/check_32.png
+0
-0
SCHNApps/resources/icons/close_32.png
SCHNApps/resources/icons/close_32.png
+0
-0
SCHNApps/resources/icons/give_32.png
SCHNApps/resources/icons/give_32.png
+0
-0
SCHNApps/resources/icons/link_32.png
SCHNApps/resources/icons/link_32.png
+0
-0
SCHNApps/resources/icons/maps_32.png
SCHNApps/resources/icons/maps_32.png
+0
-0
SCHNApps/resources/icons/plugins_32.png
SCHNApps/resources/icons/plugins_32.png
+0
-0
SCHNApps/resources/icons/separate_camera_32.png
SCHNApps/resources/icons/separate_camera_32.png
+0
-0
SCHNApps/resources/icons/share_32.png
SCHNApps/resources/icons/share_32.png
+0
-0
SCHNApps/src/cameraViewDialog.cpp
SCHNApps/src/cameraViewDialog.cpp
+32
-0
No files found.
SCHNApps/forms/cameraDialog.ui
0 → 100644
View file @
4081dfdc
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
CameraDialog
</class>
<widget
class=
"QDialog"
name=
"CameraDialog"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
232
</width>
<height>
430
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
CameraDialog
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QPushButton"
name=
"addCameraButton"
>
<property
name=
"text"
>
<string>
Add
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"removeCameraButton"
>
<property
name=
"text"
>
<string>
Remove
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget
class=
"QListWidget"
name=
"cameraList"
/>
</item>
</layout>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pushButton"
>
<property
name=
"text"
>
<string>
OK
</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
SCHNApps/include/cameraViewDialog.h
0 → 100644
View file @
4081dfdc
#ifndef _CAMERAVIEWDIALOG_H_
#define _CAMERAVIEWDIALOG_H_
#include "ui_cameraViewDialog.h"
class
Window
;
class
View
;
class
CameraViewDialog
:
public
QDialog
,
Ui
::
CameraViewDialog
{
Q_OBJECT
public:
CameraViewDialog
(
Window
*
window
,
View
*
view
);
~
CameraViewDialog
();
private:
Window
*
m_window
;
View
*
m_view
;
public
slots
:
void
cb_selectedCameraChanged
(
QListWidgetItem
*
current
,
QListWidgetItem
*
previous
);
};
#endif
SCHNApps/resources/icons/broken_link_32.png
0 → 100644
View file @
4081dfdc
1.71 KB
SCHNApps/resources/icons/camera_32.png
0 → 100644
View file @
4081dfdc
1.17 KB
SCHNApps/resources/icons/check_32.png
0 → 100644
View file @
4081dfdc
609 Bytes
SCHNApps/resources/icons/close_32.png
0 → 100644
View file @
4081dfdc
1.11 KB
SCHNApps/resources/icons/give_32.png
0 → 100644
View file @
4081dfdc
583 Bytes
SCHNApps/resources/icons/link_32.png
0 → 100644
View file @
4081dfdc
1.61 KB
SCHNApps/resources/icons/maps_32.png
0 → 100644
View file @
4081dfdc
4.15 KB
SCHNApps/resources/icons/plugins_32.png
0 → 100644
View file @
4081dfdc
4.15 KB
SCHNApps/resources/icons/separate_camera_32.png
0 → 100644
View file @
4081dfdc
1.43 KB
SCHNApps/resources/icons/share_32.png
0 → 100644
View file @
4081dfdc
751 Bytes
SCHNApps/src/cameraViewDialog.cpp
0 → 100644
View file @
4081dfdc
#include "cameraViewDialog.h"
#include "window.h"
#include "view.h"
#include "camera.h"
#include <QMessageBox>
#include <QMouseEvent>
CameraViewDialog
::
CameraViewDialog
(
Window
*
window
,
View
*
view
)
:
QDialog
(
window
),
m_window
(
window
),
m_view
(
view
)
{
this
->
setupUi
(
this
);
this
->
setWindowTitle
(
QString
(
"Select camera for view "
)
+
m_view
->
getName
());
connect
(
cameraList
,
SIGNAL
(
currentItemChanged
(
QListWidgetItem
*
,
QListWidgetItem
*
)),
this
,
SLOT
(
cb_selectedCameraChanged
(
QListWidgetItem
*
,
QListWidgetItem
*
)));
QList
<
Camera
*>
cameras
=
m_window
->
getCamerasList
();
foreach
(
Camera
*
c
,
cameras
)
cameraList
->
addItem
(
c
->
getName
());
}
CameraViewDialog
::~
CameraViewDialog
()
{}
void
CameraViewDialog
::
cb_selectedCameraChanged
(
QListWidgetItem
*
current
,
QListWidgetItem
*
previous
)
{
const
QString
&
cname
=
current
->
text
();
Camera
*
c
=
m_window
->
getCamera
(
cname
);
m_view
->
setCurrentCamera
(
c
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment