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
1e1b8952
Commit
1e1b8952
authored
Dec 14, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Added xtt_otree destructor.
parent
c02e4af7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
xtt/lib/cow/qt/cow_tree_qt.cqt
xtt/lib/cow/qt/cow_tree_qt.cqt
+0
-2
xtt/lib/cow/qt/cow_treenav_qt.cpp
xtt/lib/cow/qt/cow_treenav_qt.cpp
+0
-2
xtt/lib/xtt/qt/xtt_evlist_qt.cpp
xtt/lib/xtt/qt/xtt_evlist_qt.cpp
+2
-0
xtt/lib/xtt/qt/xtt_op_qt.cqt
xtt/lib/xtt/qt/xtt_op_qt.cqt
+3
-0
xtt/lib/xtt/qt/xtt_otree_qt.cpp
xtt/lib/xtt/qt/xtt_otree_qt.cpp
+1
-1
No files found.
xtt/lib/cow/qt/cow_tree_qt.cqt
View file @
1e1b8952
...
...
@@ -53,7 +53,6 @@ void CowTreeQt::message(char severity, const char* message)
void CowTreeQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("CowTreeQtWidget::closeEvent\n");
if (tree->close_cb) {
(tree->close_cb)(tree->parent_ctx);
} else {
...
...
@@ -131,7 +130,6 @@ CowTreeQt::CowTreeQt(QWidget* a_parent_wid, void* a_parent_ctx,
int sts;
toplevel = new CowTreeQtWidget(this, a_parent_wid);
toplevel->setToolTip(fl("cow_tree widget"));
toplevel->setMinimumSize(600, 400);
toplevel->setWindowTitle(fl(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/cow/qt/cow_treenav_qt.cpp
View file @
1e1b8952
...
...
@@ -50,7 +50,6 @@ TreeNavQt::TreeNavQt(void* xn_parent_ctx, QWidget* xn_parent_wid,
:
TreeNav
(
xn_parent_ctx
,
xn_itemlist
,
xn_item_cnt
,
xn_options
,
xn_get_object_info
,
xn_get_node_info
,
status
)
{
debug_print
(
"creating a scrolledbrowwidgetqt
\n
"
);
form_widget
=
scrolledbrowwidgetqt_new
(
TreeNav
::
init_brow_cb
,
this
,
&
brow_widget
);
...
...
@@ -62,7 +61,6 @@ TreeNavQt::TreeNavQt(void* xn_parent_ctx, QWidget* xn_parent_wid,
TreeNavQt
::~
TreeNavQt
()
{
debug_print
(
"TreeNavQt::~TreeNavQt
\n
"
);
delete
brow
;
form_widget
->
close
();
}
...
...
xtt/lib/xtt/qt/xtt_evlist_qt.cpp
View file @
1e1b8952
...
...
@@ -56,6 +56,8 @@ EvListQt::EvListQt(void* ev_parent_ctx, QWidget* ev_parent_wid,
debug_print
(
"creating a scrolledbrowwidgetqt
\n
"
);
form_widget
=
scrolledbrowwidgetqt_new
(
init_brow_cb
,
this
,
&
brow_widget
);
form_widget
->
show
();
*
w
=
form_widget
;
}
...
...
xtt/lib/xtt/qt/xtt_op_qt.cqt
View file @
1e1b8952
...
...
@@ -502,6 +502,9 @@ OpQt::~OpQt()
sup_timerid->remove();
delete sup_timerid;
}
if (wow) {
delete wow;
}
}
void OpQtWidget::closeEvent(QCloseEvent* event)
...
...
xtt/lib/xtt/qt/xtt_otree_qt.cpp
View file @
1e1b8952
...
...
@@ -54,5 +54,5 @@ XttOTreeQt::XttOTreeQt(QWidget* parent_wid, void* xn_parent_ctx,
XttOTreeQt
::~
XttOTreeQt
()
{
de
bug_print
(
"XttOTreeQt::~XttOTreeQt
\n
"
)
;
de
lete
cowtree
;
}
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