Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
user-client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
48592d0a
authored
Jun 06, 2017
by
Belákovics Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace mainwindow.h
parent
cb3ab577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
mainwindow.h
+28
-0
No files found.
mainwindow.h
View file @
48592d0a
...
...
@@ -2,6 +2,12 @@
#define MAINWINDOW_H
#include <QMainWindow>
#include <QLabel>
#include <QPushButton>
#include <computewidget.h>
#include "libocci/occilib.h"
#include "controller.h"
#include "vmchooserdialog.h"
namespace
Ui
{
class
MainWindow
;
...
...
@@ -14,9 +20,31 @@ class MainWindow : public QMainWindow
public
:
explicit
MainWindow
(
QWidget
*
parent
=
0
);
~
MainWindow
();
void
addVM
(
std
::
string
id
,
std
::
string
name
);
void
loadData
();
signals
:
void
send_templates
(
std
::
vector
<
Template
>
);
private
slots
:
void
on_bLogin_clicked
();
void
renewClicked
(
std
::
string
);
void
startClicked
(
std
::
string
);
void
wakeupClicked
(
std
::
string
);
void
sleepClicked
(
std
::
string
);
void
receive_chosen_template
(
Template
);
void
on_listWidget_clicked
(
const
QModelIndex
&
index
);
void
on_bRefresh_clicked
();
void
on_bNewVM_clicked
();
private
:
Ui
::
MainWindow
*
ui
;
Controller
myController
;
std
::
vector
<
std
::
string
>
VM_names
;
};
#endif // MAINWINDOW_H
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