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
513b6105
Commit
513b6105
authored
Nov 26, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Style change on WRev 'New Revision' dialog.
parent
1b3ec333
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
wb/exe/wb/qt/wb_qt.cpp
wb/exe/wb/qt/wb_qt.cpp
+3
-0
wb/lib/wb/qt/wb_bckw_qt.cqt
wb/lib/wb/qt/wb_bckw_qt.cqt
+6
-1
wb/lib/wb/qt/wb_bckw_qt.h
wb/lib/wb/qt/wb_bckw_qt.h
+1
-0
wb/lib/wb/qt/wb_bckwnav_qt.cpp
wb/lib/wb/qt/wb_bckwnav_qt.cpp
+0
-4
wb/lib/wb/qt/wb_wrev_qt.cqt
wb/lib/wb/qt/wb_wrev_qt.cqt
+5
-5
No files found.
wb/exe/wb/qt/wb_qt.cpp
View file @
513b6105
...
...
@@ -59,6 +59,8 @@
#include <QApplication>
#include <QTimer>
extern
int
DEBUG
;
Wtt
*
WbQt
::
wtt_new
(
const
char
*
name
,
const
char
*
iconname
,
ldh_tWBContext
ldhwbctx
,
pwr_tVolumeId
volid
,
ldh_tVolume
volctx
,
wnav_sStartMenu
*
root_menu
,
pwr_tStatus
*
status
)
...
...
@@ -91,6 +93,7 @@ int main(int argc, char* argv[])
WbQt
::
WbQt
(
int
argc
,
char
*
argv
[])
:
mainwindow
(
0
)
{
DEBUG
=
1
;
pwr_tStatus
sts
;
int
login_display
=
0
;
int
nav_display
=
0
;
...
...
wb/lib/wb/qt/wb_bckw_qt.cqt
View file @
513b6105
...
...
@@ -136,11 +136,16 @@ void WbBckWQtWidget::focusInEvent(QFocusEvent* event)
void WbBckWQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("WbBckWQtWidget::closeEvent\n");
delete bck;
QWidget::closeEvent(event);
}
WbBckWQt::~WbBckWQt()
{
if (bckwnav)
delete bckwnav;
}
void WbBckWQt::set_title(char* title)
{
toplevel->setWindowTitle(QString::fromLatin1(title));
...
...
wb/lib/wb/qt/wb_bckw_qt.h
View file @
513b6105
...
...
@@ -50,6 +50,7 @@ public:
WbBckWQt
(
void
*
l_parent_ctx
,
QWidget
*
l_parent_wid
,
ldh_tSession
l_ldhses
,
const
char
*
l_name
,
wb_bck_list
*
l_list
,
int
l_editmode
,
pwr_tStatus
*
status
);
~
WbBckWQt
();
QWidget
*
nav_widget
;
QWidget
*
file_transfer_wb
;
...
...
wb/lib/wb/qt/wb_bckwnav_qt.cpp
View file @
513b6105
...
...
@@ -46,19 +46,15 @@ WbBckWNavQt::WbBckWNavQt(void* l_parent_ctx, QWidget* l_parent_wid,
ldh_tSession
l_ldhses
,
wb_bck_list
*
l_list
,
int
l_editmode
,
QWidget
**
w
)
:
WbBckWNav
(
l_parent_ctx
,
l_ldhses
,
l_list
,
l_editmode
)
{
debug_print
(
"creating a scrolledbrowwidgetqt
\n
"
);
form_widget
=
scrolledbrowwidgetqt_new
(
WbBckWNav
::
init_brow_cb
,
this
,
&
brow_widget
);
showNow
(
brow_widget
);
// Create the root item
*
w
=
form_widget
;
}
WbBckWNavQt
::~
WbBckWNavQt
()
{
debug_print
(
"WbBckWNavQt::~WbBckWNavQt
\n
"
);
form_widget
->
close
();
}
...
...
wb/lib/wb/qt/wb_wrev_qt.cqt
View file @
513b6105
...
...
@@ -280,7 +280,7 @@ WRevInputDialog::WRevInputDialog(WRevQt* parent_ctx, QWidget* parent,
const char* init_text2)
: QDialog(parent), rev(parent_ctx)
{
setMinimum
Size(350, 1
50);
setMinimum
Width(3
50);
setWindowTitle(fl("New Revision"));
setAttribute(Qt::WA_DeleteOnClose);
...
...
@@ -301,15 +301,15 @@ WRevInputDialog::WRevInputDialog(WRevQt* parent_ctx, QWidget* parent,
QHBoxLayout* hboxtext1 = new QHBoxLayout();
hboxtext1->addWidget(india_label1);
add_expanding(hboxtext1,
india_text1);
hboxtext1->addWidget(
india_text1);
QHBoxLayout* hboxtext2 = new QHBoxLayout();
hboxtext2->addWidget(india_label2);
add_expanding(hboxtext2,
india_text2);
hboxtext2->addWidget(
india_text2);
QVBoxLayout* vbox = new QVBoxLayout();
add_expanding(vbox,
hboxtext1);
add_expanding(vbox,
hboxtext2);
vbox->addLayout(
hboxtext1);
vbox->addLayout(
hboxtext2);
vbox->addWidget(separator(QFrame::HLine));
vbox->addWidget(buttons);
setLayout(vbox);
...
...
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