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
00e83156
Commit
00e83156
authored
Apr 12, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Fixed selections in wb
parent
70ccdb2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
wb/lib/wb/qt/wb_nav_qt.cqt
wb/lib/wb/qt/wb_nav_qt.cqt
+3
-4
wb/lib/wb/qt/wb_pal_qt.cqt
wb/lib/wb/qt/wb_pal_qt.cqt
+3
-5
wb/lib/wb/qt/wb_wnav_qt.cqt
wb/lib/wb/qt/wb_wnav_qt.cqt
+3
-4
No files found.
wb/lib/wb/qt/wb_nav_qt.cqt
View file @
00e83156
...
@@ -103,9 +103,6 @@ void NavQtTraceObject::sel_convert_cb()
...
@@ -103,9 +103,6 @@ void NavQtTraceObject::sel_convert_cb()
clientConnection->write(block);
clientConnection->write(block);
clientConnection->flush();
clientConnection->flush();
clientConnection->disconnectFromServer();
clientConnection->disconnectFromServer();
brow_SelectClear(nav->brow_ctx);
nav->selection_owner = 0;
}
}
void NavQt::set_selection_owner(int set)
void NavQt::set_selection_owner(int set)
...
@@ -131,5 +128,7 @@ void NavQt::set_inputfocus(int focus)
...
@@ -131,5 +128,7 @@ void NavQt::set_inputfocus(int focus)
modifyBackground(form_widget, QColor("Black"));
modifyBackground(form_widget, QColor("Black"));
} else {
} else {
modifyBackground(form_widget, QColor("White"));
modifyBackground(form_widget, QColor("White"));
brow_SelectClear(brow_ctx);
selection_owner = 0;
}
}
}
}
\ No newline at end of file
wb/lib/wb/qt/wb_pal_qt.cqt
View file @
00e83156
...
@@ -101,6 +101,8 @@ void PalQt::set_inputfocus(int focus)
...
@@ -101,6 +101,8 @@ void PalQt::set_inputfocus(int focus)
brow_widget->setFocus();
brow_widget->setFocus();
} else {
} else {
modifyBackground(form_widget, QColor("White"));
modifyBackground(form_widget, QColor("White"));
brow_SetInverseColor(brow_ctx, flow_eDrawType_LineGray);
selection_owner = 0;
}
}
}
}
...
@@ -145,8 +147,4 @@ void PalQtTraceObject::sel_convert_cb()
...
@@ -145,8 +147,4 @@ void PalQtTraceObject::sel_convert_cb()
clientConnection->write(block);
clientConnection->write(block);
clientConnection->flush();
clientConnection->flush();
clientConnection->disconnectFromServer();
clientConnection->disconnectFromServer();
}
// brow_SelectClear(brow_ctx);
brow_SetInverseColor(pal->brow_ctx, flow_eDrawType_LineGray);
pal->selection_owner = 0;
}
\ No newline at end of file
wb/lib/wb/qt/wb_wnav_qt.cqt
View file @
00e83156
...
@@ -155,6 +155,8 @@ void WNavQt::set_inputfocus(int focus)
...
@@ -155,6 +155,8 @@ void WNavQt::set_inputfocus(int focus)
brow_widget->setFocus();
brow_widget->setFocus();
} else {
} else {
modifyBackground(form_widget, QColor("White"));
modifyBackground(form_widget, QColor("White"));
brow_SelectClear(brow->ctx);
selection_owner = 0;
}
}
}
}
...
@@ -278,9 +280,6 @@ static void selection_data_set(
...
@@ -278,9 +280,6 @@ static void selection_data_set(
clientConnection->write(block);
clientConnection->write(block);
clientConnection->flush();
clientConnection->flush();
clientConnection->disconnectFromServer();
clientConnection->disconnectFromServer();
brow_SelectClear(wnav->brow->ctx);
wnav->selection_owner = 0;
}
}
void WNavQtTraceObject::sel_convert_cb()
void WNavQtTraceObject::sel_convert_cb()
...
@@ -487,4 +486,4 @@ int WNavQt::prompt_dialog(char* title, char* text, char** value)
...
@@ -487,4 +486,4 @@ int WNavQt::prompt_dialog(char* title, char* text, char** value)
strcpy(*value, "");
strcpy(*value, "");
}
}
return ok;
return ok;
}
}
\ No newline at end of file
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