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
9ef84609
Commit
9ef84609
authored
Dec 19, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Removed old debug prints.
parent
6e4e1530
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
8 additions
and
31 deletions
+8
-31
wb/lib/wb/qt/wb_bckw_qt.cqt
wb/lib/wb/qt/wb_bckw_qt.cqt
+0
-1
wb/lib/wb/qt/wb_expw_qt.cqt
wb/lib/wb/qt/wb_expw_qt.cqt
+0
-1
wb/lib/wb/qt/wb_xcrr_qt.cqt
wb/lib/wb/qt/wb_xcrr_qt.cqt
+0
-1
xtt/lib/cow/qt/cow_logw_qt.cqt
xtt/lib/cow/qt/cow_logw_qt.cqt
+5
-1
xtt/lib/cow/qt/cow_logw_qt.h
xtt/lib/cow/qt/cow_logw_qt.h
+1
-0
xtt/lib/cow/qt/cow_rtmon_qt.cqt
xtt/lib/cow/qt/cow_rtmon_qt.cqt
+0
-2
xtt/lib/cow/qt/cow_statusmon_nodelist_qt.cqt
xtt/lib/cow/qt/cow_statusmon_nodelist_qt.cqt
+0
-1
xtt/lib/cow/qt/cow_statusmon_nodelistnav_qt.cqt
xtt/lib/cow/qt/cow_statusmon_nodelistnav_qt.cqt
+0
-2
xtt/lib/cow/qt/cow_wow_qt.cqt
xtt/lib/cow/qt/cow_wow_qt.cqt
+0
-2
xtt/lib/cow/qt/cow_xhelp_qt.cqt
xtt/lib/cow/qt/cow_xhelp_qt.cqt
+0
-1
xtt/lib/cow/qt/cow_xhelpnav_qt.cpp
xtt/lib/cow/qt/cow_xhelpnav_qt.cpp
+0
-1
xtt/lib/flow/qt/flow_draw_qt.cqt
xtt/lib/flow/qt/flow_draw_qt.cqt
+0
-1
xtt/lib/ge/qt/ge_qt.cqt
xtt/lib/ge/qt/ge_qt.cqt
+0
-3
xtt/lib/glow/qt/glow_draw_qt.cqt
xtt/lib/glow/qt/glow_draw_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_block_qt.cqt
xtt/lib/xtt/qt/xtt_block_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_clog_qt.cqt
xtt/lib/xtt/qt/xtt_clog_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_ev_qt.cqt
xtt/lib/xtt/qt/xtt_ev_qt.cqt
+0
-3
xtt/lib/xtt/qt/xtt_evala_qt.cqt
xtt/lib/xtt/qt/xtt_evala_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_eveve_qt.cqt
xtt/lib/xtt/qt/xtt_eveve_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_multiview_qt.cpp
xtt/lib/xtt/qt/xtt_multiview_qt.cpp
+2
-0
xtt/lib/xtt/qt/xtt_op_qt.cqt
xtt/lib/xtt/qt/xtt_op_qt.cqt
+0
-1
xtt/lib/xtt/qt/xtt_trace_qt.cqt
xtt/lib/xtt/qt/xtt_trace_qt.cqt
+0
-4
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
+0
-1
No files found.
wb/lib/wb/qt/wb_bckw_qt.cqt
View file @
9ef84609
...
...
@@ -52,7 +52,6 @@ WbBckWQt::WbBckWQt(void* bckw_parent_ctx, QWidget* bckw_parent_wid,
bckw_parent_ctx, bckw_ldhses, bckw_name, l_list, l_editmode, status)
{
toplevel = new WbBckWQtWidget(this, bckw_parent_wid);
toplevel->setToolTip(fl("wb_bckw widget"));
toplevel->setMinimumSize(1100, 600);
toplevel->setWindowTitle(fl(bckw_name));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
wb/lib/wb/qt/wb_expw_qt.cqt
View file @
9ef84609
...
...
@@ -52,7 +52,6 @@ WbExpWQt::WbExpWQt(void* expw_parent_ctx, QWidget* expw_parent_wid,
expw_parent_ctx, expw_ldhses, expw_name, l_type, l_editmode, status)
{
toplevel = new WbExpWQtWidget(this, expw_parent_wid);
toplevel->setToolTip(fl("wb_expw widget"));
toplevel->setMinimumSize(1100, 600);
toplevel->setWindowTitle(fl(expw_name));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
wb/lib/wb/qt/wb_xcrr_qt.cqt
View file @
9ef84609
...
...
@@ -132,7 +132,6 @@ WCrrQt::WCrrQt(QWidget* xa_parent_wid, void* xa_parent_ctx,
strncpy(title, namep, sizeof(title));
toplevel = new WCrrQtWidget(this, xa_parent_wid);
toplevel->setToolTip(fl("wb_xcrr widget"));
toplevel->setMinimumSize(600, 420);
toplevel->setWindowTitle(convert_utf8(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/cow/qt/cow_logw_qt.cqt
View file @
9ef84609
...
...
@@ -87,6 +87,11 @@ CoLogWQt::CoLogWQt(void* logw_parent_ctx, QWidget* logw_parent_wid,
wow = new CoWowQt(toplevel);
}
CoLogWQt::~CoLogWQt()
{
delete logwnav;
}
void CoLogWQt::print()
{
CoWowQt::CreateBrowPrintDialogQt(name, logwnav->brow->ctx, ((CoLogWNavQt*)logwnav)->brow_widget);
...
...
@@ -104,7 +109,6 @@ void CoLogWQtWidget::focusInEvent(QFocusEvent* event)
void CoLogWQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("CoLogWQtWidget::closeEvent\n");
delete logw;
QWidget::closeEvent(event);
}
...
...
xtt/lib/cow/qt/cow_logw_qt.h
View file @
9ef84609
...
...
@@ -49,6 +49,7 @@ class CoLogWQt : public CoLogW {
public:
CoLogWQt
(
void
*
msg_parent_ctx
,
QWidget
*
msg_parent_wid
,
const
char
*
msg_name
,
int
l_show_item
,
pwr_tStatus
*
status
);
~
CoLogWQt
();
QWidget
*
nav_widget
;
CoWowFocusTimerQt
focustimer
;
...
...
xtt/lib/cow/qt/cow_rtmon_qt.cqt
View file @
9ef84609
...
...
@@ -54,7 +54,6 @@
void RtMonQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("RtMonQtWidget::closeEvent\n");
if (rtmon->close_cb) {
(rtmon->close_cb)(rtmon->parent_ctx);
} else {
...
...
@@ -246,7 +245,6 @@ void RtMonQtWidget::rtmon_scan()
RtMonQt::~RtMonQt()
{
debug_print("RtMonQt::~RtMonQt\n");
if (timerid) {
delete timerid;
}
...
...
xtt/lib/cow/qt/cow_statusmon_nodelist_qt.cqt
View file @
9ef84609
...
...
@@ -51,7 +51,6 @@
void NodelistQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("NodelistQtWidget::closeEvent\n");
if (nodelist->close_cb) {
(nodelist->close_cb)(nodelist->parent_ctx);
} else {
...
...
xtt/lib/cow/qt/cow_statusmon_nodelistnav_qt.cqt
View file @
9ef84609
...
...
@@ -54,7 +54,6 @@ NodelistNavQt::NodelistNavQt(void* nodelist_parent_ctx,
{
trace_obj = new NodelistNavQtTraceObject(this);
debug_print("creating a scrolledbrowwidgetqt\n");
form_widget = scrolledbrowwidgetqt_new(init_brow_cb, this, &brow_widget);
*w = form_widget;
...
...
@@ -64,7 +63,6 @@ NodelistNavQt::NodelistNavQt(void* nodelist_parent_ctx,
NodelistNavQt::~NodelistNavQt()
{
debug_print("NodelistNavQt::~NodelistNavQt\n");
delete trace_obj;
delete brow;
...
...
xtt/lib/cow/qt/cow_wow_qt.cqt
View file @
9ef84609
...
...
@@ -963,7 +963,6 @@ CoWowQt::CoWowQt(QWidget* parent)
CoWowQt::~CoWowQt()
{
debug_print("CoWowQt::~CoWowQt\n");
delete object;
}
...
...
@@ -1033,7 +1032,6 @@ static int GetPrintHeaderMargin(QPainter* painter)
}
static void PrintPage(QPainter* painter, const char* title, flow_tCtx ctx, QImage* image, double ll_x, double ll_y, double ur_x, double ur_y, int page) {
debug_print("ll_x=%f, ll_y=%f, ur_x=%f, ur_y=%f\n", ll_x, ll_y, ur_x, ur_y);
double zoom = qMin(
ctx->window_width / (ur_x - ll_x + 2 / ctx->zoom_factor),
ctx->window_height / (ur_y - ll_y + 2 / ctx->zoom_factor)
...
...
xtt/lib/cow/qt/cow_xhelp_qt.cqt
View file @
9ef84609
...
...
@@ -173,7 +173,6 @@ void CoXHelpQt::pop()
CoXHelpQt::~CoXHelpQt()
{
debug_print("~CoXHelpQt()\n");
delete xhelpnav;
}
...
...
xtt/lib/cow/qt/cow_xhelpnav_qt.cpp
View file @
9ef84609
...
...
@@ -60,7 +60,6 @@ CoXHelpNavQt::CoXHelpNavQt(void* xn_parent_ctx, QWidget* xn_parent_wid,
CoXHelpNavQt
::~
CoXHelpNavQt
()
{
debug_print
(
"CoXHelpNavQt::~CoXHelpNavQt
\n
"
);
closing_down
=
1
;
for
(
int
i
=
0
;
i
<
brow_cnt
;
i
++
)
{
...
...
xtt/lib/flow/qt/flow_draw_qt.cqt
View file @
9ef84609
...
...
@@ -161,7 +161,6 @@ static QColor flow_allocate_color(FlowDrawQt* draw_ctx, const char* named_color)
FlowDrawQt::~FlowDrawQt()
{
debug_print("FlowDrawQt::~FlowDrawQt\n");
closing_down = 1;
basectx->set_nodraw();
...
...
xtt/lib/ge/qt/ge_qt.cqt
View file @
9ef84609
...
...
@@ -1238,7 +1238,6 @@ void GeQt::update()
void GeQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("GeQtWidget::closeEvent\n");
ge->Ge::activate_exit();
QWidget::closeEvent(event);
}
...
...
@@ -1263,7 +1262,6 @@ void GeQtWidget::focusInEvent(QFocusEvent* event)
GeQt::~GeQt()
{
debug_print("GeQt::~GeQt\n");
if (graph->is_modified()) {
open_yesnodia("Do you wan't to save changes", "Save", Ge::exit_save_cb,
Ge::exit_nosave_cb);
...
...
@@ -1939,7 +1937,6 @@ GeQt::GeQt(void* x_parent_ctx, QWidget* x_parent_widget,
subpalette_mapped = 1;
// Color palette
debug_print("creating a scrolledcolpalwidgetqt\n");
colpal_main_widget = scrolledcolpalwidgetqt_new(
Ge::init_colorpalette_cb, this, &colorpalette_widget);
...
...
xtt/lib/glow/qt/glow_draw_qt.cqt
View file @
9ef84609
...
...
@@ -235,7 +235,6 @@ static QColor glow_allocate_custom_color(GlowDrawQt* draw_ctx,
GlowDrawQt::~GlowDrawQt()
{
debug_print("GlowDrawQt::~GlowDrawQt\n");
closing_down = 1;
ctx->set_nodraw();
...
...
xtt/lib/xtt/qt/xtt_block_qt.cqt
View file @
9ef84609
...
...
@@ -151,7 +151,6 @@ BlockQt::BlockQt(void* b_parent_ctx, QWidget* b_parent_wid, pwr_sAttrRef* b_oar,
strcat(title, " ");
strcat(title, aname);
toplevel->setToolTip(fl("xtt_block widget"));
toplevel->setWindowTitle(fl(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/xtt/qt/xtt_clog_qt.cqt
View file @
9ef84609
...
...
@@ -67,7 +67,6 @@ CLogQt::CLogQt(void* clog_parent_ctx, QWidget* clog_parent_wid,
: CLog(clog_parent_ctx, clog_name, status), parent_wid(clog_parent_wid)
{
toplevel = new CLogQtWidget(this, clog_parent_wid);
toplevel->setToolTip(fl("xtt_clog widget"));
toplevel->setMinimumSize(1000, 800);
toplevel->setWindowTitle(translate_utf8(clog_name));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/xtt/qt/xtt_ev_qt.cqt
View file @
9ef84609
...
...
@@ -123,7 +123,6 @@ EvQt::EvQt(void* ev_parent_ctx, QWidget* ev_parent_wid, char* eve_name,
parent_wid_eve = new CallbackWidget(
object, &EvQtObject::eve_activate_exit, &EvQtObject::eve_action_inputfocus);
parent_wid_eve->setMinimumSize(eve_width, eve_height);
parent_wid_eve->setToolTip(fl("xtt_ev eve widget"));
parent_wid_eve->setWindowTitle(translate_utf8(eve_name));
// Do not set the DeleteOnClose attribute.
...
...
@@ -227,7 +226,6 @@ EvQt::EvQt(void* ev_parent_ctx, QWidget* ev_parent_wid, char* eve_name,
{
parent_wid_ala = new CallbackWidget(
object, &EvQtObject::ala_activate_exit, &EvQtObject::ala_action_inputfocus);
parent_wid_ala->setToolTip(fl("xtt_ev ala widget"));
parent_wid_ala->setMinimumSize(ala_width, ala_height);
parent_wid_ala->setWindowTitle(translate_utf8(ala_name));
// Do not set the DeleteOnClose attribute.
...
...
@@ -365,7 +363,6 @@ EvQt::EvQt(void* ev_parent_ctx, QWidget* ev_parent_wid, char* eve_name,
{
parent_wid_blk = new CallbackWidget(
object, &EvQtObject::blk_activate_exit, &EvQtObject::blk_action_inputfocus);
parent_wid_blk->setToolTip(fl("xtt_ev blk widget"));
parent_wid_blk->setMinimumSize(blk_width, blk_height);
parent_wid_blk->setWindowTitle(translate_utf8(blk_name));
// Do not set the DeleteOnClose attribute.
...
...
xtt/lib/xtt/qt/xtt_evala_qt.cqt
View file @
9ef84609
...
...
@@ -87,7 +87,6 @@ EvAlaQt::EvAlaQt(void* ev_parent_ctx, QWidget* ev_parent_wid, char* ala_name,
if (!(options & ev_mAlaOptions_Embedded)) {
toplevel = new EvAlaQtWidget(this, ev_parent_wid);
toplevel->setToolTip(fl("xtt_evala widget"));
toplevel->setMinimumSize(ala_width, ala_height);
toplevel->setWindowTitle(translate_utf8(ala_name));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/xtt/qt/xtt_eveve_qt.cqt
View file @
9ef84609
...
...
@@ -84,7 +84,6 @@ EvEveQt::EvEveQt(void* ev_parent_ctx, QWidget* ev_parent_wid, char* eve_name,
// Eve Window
if (!(options & ev_mAlaOptions_Embedded)) {
toplevel = new EvEveQtWidget(this, ev_parent_wid);
toplevel->setToolTip(fl("xtt_eveve widget"));
toplevel->setMinimumSize(eve_width, eve_height);
toplevel->setWindowTitle(translate_utf8(eve_name));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
xtt/lib/xtt/qt/xtt_multiview_qt.cpp
View file @
9ef84609
...
...
@@ -62,6 +62,8 @@
#include "xtt_xnav.h"
// TODO: Clean up this mess
// TODO: The Box layout is identical to the Table layout
// => Use the Table layout for both Box+Table.
QWidget
*
XttMultiViewQt
::
error_msg
(
const
char
*
msg
,
pwr_tStatus
sts
)
{
...
...
xtt/lib/xtt/qt/xtt_op_qt.cqt
View file @
9ef84609
...
...
@@ -151,7 +151,6 @@ OpQt::OpQt(void* op_parent_ctx, QWidget* op_parent_wid, char* opplace,
gray_color = QColor("gray");
toplevel = new OpQtWidget(this, op_parent_wid);
toplevel->setToolTip(fl("xtt_op widget"));
toplevel->setMinimumSize(1100, OP_HEIGHT_MIN + OP_HEIGHT_STATUSBAR);
toplevel->setWindowFlags(Qt::CustomizeWindowHint);
...
...
xtt/lib/xtt/qt/xtt_trace_qt.cqt
View file @
9ef84609
...
...
@@ -173,7 +173,6 @@ void RtTraceQtWidget::activate_helpplclist()
RtTraceQt::~RtTraceQt()
{
debug_print("RtTraceQt::~RtTraceQt\n");
trace_tNode *node, *fnode;
trace_stop();
...
...
@@ -211,7 +210,6 @@ RtTrace* RtTraceQt::subwindow_new(void* ctx, pwr_tObjid oid, pwr_tStatus* sts)
void RtTraceQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("RtTraceQtWidget::closeEvent\n");
rt->activate_close();
QWidget::closeEvent(event);
}
...
...
@@ -391,10 +389,8 @@ RtTraceQt::RtTraceQt(void* tr_parent_ctx, QWidget* tr_parent_wid,
"$pwr_exe/xtt_zoom_reset.png");
// Flow widget
debug_print("creating a scrolledflowwidgetqt\n");
QWidget* flow_scrolled
= scrolledflowwidgetqt_new(init_flow, this, &flow_widget);
debug_print("creating a flownavwidgetqt\n");
nav_widget = flownavwidgetqt_new(flow_widget);
QSplitter* paned = new QSplitter(toplevel);
...
...
xtt/lib/xtt/qt/xtt_xcolwind_qt.cqt
View file @
9ef84609
...
...
@@ -433,7 +433,6 @@ XColWindQt::XColWindQt(QWidget* xa_parent_wid, void* xa_parent_ctx,
xattnav_eType xattnav_type;
toplevel = new XColWindQtWidget(this, xa_parent_wid);
toplevel->setToolTip(fl("xtt_xcolwind widget"));
toplevel->setMinimumSize(420, 600);
toplevel->setWindowTitle(convert_utf8(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
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