Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
77ae0c2b
Commit
77ae0c2b
authored
Feb 21, 2013
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First sheleton of the mainwin
parent
bdfa3a0d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
6 deletions
+104
-6
maingui.html
gui/maingui.html
+97
-0
mainwin.cpp
src/mainwin.cpp
+4
-1
mainwin.h
src/mainwin.h
+3
-5
No files found.
gui/maingui.html
0 → 100644
View file @
77ae0c2b
<html>
<head>
<title>
SkyliveX 0.1.0
</title>
<script
type=
"text/javascript"
src=
"SkyliveX.js"
></script>
<style>
#page
{
background-color
:
#FFFFFF
;
color
:
#000000
;
text-align
:
center
;
margin
:
0
auto
;
overflow
:
hidden
;
}
#top
{
width
:
100%
;
height
:
50px
;
margin
:
0
auto
;
border
:
1px
solid
#00FF00
;
}
#left
{
width
:
330px
;
float
:
left
;
}
#livearea
{
}
#right
{
width
:
auto
;
padding-left
:
330px
;
}
#chatwrapperarea
{
border
:
1px
solid
#00FF00
;
top
:
50px
;
}
#chatarea
{
min-height
:
100px
;
overflow-y
:
auto
;
height
:
450px
;
border
:
1px
solid
#FF0000
;
}
#chatinput
{
border
:
1px
solid
#0000FF
;
height
:
70px
;
}
</style>
</head>
<body>
<div
id=
"page"
>
<div
id=
"top"
>
</div>
<div
id=
"left"
>
<div
id=
"livearea"
>
<img
src=
"http://live1.skylive.name/tele1/live640.jpg"
></img>
</div>
</div>
<div
id=
"right"
>
<div
id=
"chatwrapperarea"
>
<div
id=
"chatarea"
>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
CHAT
</p>
<p>
PIPPO
</p>
</div>
</div>
<div
id=
"chatinput"
>
<p>
INPUT
</p>
</div>
</div>
</div>
</body>
</html>
src/mainwin.cpp
View file @
77ae0c2b
...
@@ -220,7 +220,10 @@ void MainWin::handle_loginres(SKMessage &msg)
...
@@ -220,7 +220,10 @@ void MainWin::handle_loginres(SKMessage &msg)
{
{
if
(
msg
.
handle
==
"loginok"
)
if
(
msg
.
handle
==
"loginok"
)
{
{
std
::
cout
<<
"LOGIN OK"
<<
std
::
endl
;
//std::cout << "LOGIN OK" << std::endl;
QString
html
(
"gui/maingui.html"
);
setHtmlFile
(
html
,
true
,
false
);
resize
(
800
,
600
);
}
}
else
else
{
{
...
...
src/mainwin.h
View file @
77ae0c2b
...
@@ -117,10 +117,8 @@ class MainWin : public QWebView
...
@@ -117,10 +117,8 @@ class MainWin : public QWebView
void
putMessage
(
SKMessage
&
msg
);
void
putMessage
(
SKMessage
&
msg
);
// XXX Future usage
// XXX Future usage
/*
//protected:
protected:
// void dragMoveEvent(QDragMoveEvent *ev);
void dragMoveEvent(QDragMoveEvent *ev);
*/
};
};
...
...
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