Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e3f1931c
Commit
e3f1931c
authored
Dec 28, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Added destructor to XttTblQt.
parent
497d030e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
sev/exe/sev_xtt/qt/sev_xtt_qt.cpp
sev/exe/sev_xtt/qt/sev_xtt_qt.cpp
+2
-0
sev/exe/sev_xtt/qt/xtt_tbl_qt.cqt
sev/exe/sev_xtt/qt/xtt_tbl_qt.cqt
+8
-3
sev/exe/sev_xtt/qt/xtt_tbl_qt.h
sev/exe/sev_xtt/qt/xtt_tbl_qt.h
+1
-0
No files found.
sev/exe/sev_xtt/qt/sev_xtt_qt.cpp
View file @
e3f1931c
...
@@ -59,6 +59,8 @@ int main(int argc, char* argv[])
...
@@ -59,6 +59,8 @@ int main(int argc, char* argv[])
unsigned
int
itemcnt
;
unsigned
int
itemcnt
;
char
servername
[
40
]
=
""
;
char
servername
[
40
]
=
""
;
setDebug
(
1
);
// Get options
// Get options
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
streq
(
argv
[
i
],
"-s"
)
&&
i
+
1
<
argc
)
{
if
(
streq
(
argv
[
i
],
"-s"
)
&&
i
+
1
<
argc
)
{
...
...
sev/exe/sev_xtt/qt/xtt_tbl_qt.cqt
View file @
e3f1931c
...
@@ -276,7 +276,7 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
...
@@ -276,7 +276,7 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
addMenuItem(toplevel, view, "Zoom &Out", SLOT(activate_zoom_out()), "CTRL+O",
addMenuItem(toplevel, view, "Zoom &Out", SLOT(activate_zoom_out()), "CTRL+O",
"zoom-out");
"zoom-out");
addMenuItem(toplevel, view, "Zoom &Reset", SLOT(activate_zoom_reset()), "",
addMenuItem(toplevel, view, "Zoom &Reset", SLOT(activate_zoom_reset()), "",
"zoom-
reset
");
"zoom-
original
");
// Help entry
// Help entry
QMenu* help = menu_bar->addMenu(translate_utf8("&Help"));
QMenu* help = menu_bar->addMenu(translate_utf8("&Help"));
...
@@ -307,7 +307,7 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
...
@@ -307,7 +307,7 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
cmd_recall = new CoWowRecall();
cmd_recall = new CoWowRecall();
cmd_entry = new CoWowEntryQt(cmd_recall);
cmd_entry = new CoWowEntryQt(cmd_recall);
cmd_entry->setFixedHeight(25);
cmd_entry->setFixedHeight(25);
QObject::connect(cmd_entry, SIGNAL(
editing_finish
ed()), toplevel,
QObject::connect(cmd_entry, SIGNAL(
returnPress
ed()), toplevel,
SLOT(valchanged_cmd_input()));
SLOT(valchanged_cmd_input()));
statusbar->addWidget(msg_label);
statusbar->addWidget(msg_label);
...
@@ -353,4 +353,9 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
...
@@ -353,4 +353,9 @@ XttTblQt::XttTblQt(QWidget* a_parent_wid, void* a_parent_ctx,
((CoWowQt*)wow)->SetParent(toplevel);
((CoWowQt*)wow)->SetParent(toplevel);
}
}
}
}
}
}
\ No newline at end of file
XttTblQt::~XttTblQt()
{
delete tblnav;
}
sev/exe/sev_xtt/qt/xtt_tbl_qt.h
View file @
e3f1931c
...
@@ -51,6 +51,7 @@ class XttTblQt : public XttTbl {
...
@@ -51,6 +51,7 @@ class XttTblQt : public XttTbl {
public:
public:
XttTblQt
(
QWidget
*
a_parent_wid
,
void
*
a_parent_ctx
,
sevcli_tCtx
a_sevcli
,
XttTblQt
(
QWidget
*
a_parent_wid
,
void
*
a_parent_ctx
,
sevcli_tCtx
a_sevcli
,
sevcli_sHistItem
*
itemlist
,
int
item_cnt
);
sevcli_sHistItem
*
itemlist
,
int
item_cnt
);
~
XttTblQt
();
XttTblQtWidget
*
toplevel
;
XttTblQtWidget
*
toplevel
;
QWidget
*
brow_widget
;
QWidget
*
brow_widget
;
...
...
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