Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
0aab9a99
Commit
0aab9a99
authored
Jan 05, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stylized the widgets
parent
883d22be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
style.qss
resources/style.qss
+0
-1
UBTeacherBarWidget.cpp
src/gui/UBTeacherBarWidget.cpp
+9
-0
No files found.
resources/style.qss
View file @
0aab9a99
QWidget#DockPaletteWidgetBox,
QWidget#DockPaletteWidgetBox,
QWidget#documentNavigator,
QWidget#documentNavigator,
QWidget#UBLibPathViewer,
QWidget#UBLibPathViewer,
QWidget#UBTeacherStudentAction,
QWidget#UBLibNavigatorWidget,
QWidget#UBLibNavigatorWidget,
QWidget#UBLibItemProperties,
QWidget#UBLibItemProperties,
QWidget#UBDownloadWidget,
QWidget#UBDownloadWidget,
...
...
src/gui/UBTeacherBarWidget.cpp
View file @
0aab9a99
...
@@ -309,6 +309,8 @@ UBTeacherStudentAction::UBTeacherStudentAction(QWidget *parent, const char *name
...
@@ -309,6 +309,8 @@ UBTeacherStudentAction::UBTeacherStudentAction(QWidget *parent, const char *name
mpComboLayout
=
new
QVBoxLayout
();
mpComboLayout
=
new
QVBoxLayout
();
mpCombo
=
new
QComboBox
(
this
);
mpCombo
=
new
QComboBox
(
this
);
mpCombo
->
setObjectName
(
"DockPaletteWidgetComboBox"
);
mpCombo
->
setMinimumWidth
(
80
);
mpCombo
->
addItem
(
tr
(
"Teacher"
));
mpCombo
->
addItem
(
tr
(
"Teacher"
));
mpCombo
->
addItem
(
tr
(
"Student"
));
mpCombo
->
addItem
(
tr
(
"Student"
));
mpComboLayout
->
addWidget
(
mpCombo
,
0
);
mpComboLayout
->
addWidget
(
mpCombo
,
0
);
...
@@ -317,6 +319,9 @@ UBTeacherStudentAction::UBTeacherStudentAction(QWidget *parent, const char *name
...
@@ -317,6 +319,9 @@ UBTeacherStudentAction::UBTeacherStudentAction(QWidget *parent, const char *name
mpLayout
->
addLayout
(
mpComboLayout
,
0
);
mpLayout
->
addLayout
(
mpComboLayout
,
0
);
mpText
=
new
QTextEdit
(
this
);
mpText
=
new
QTextEdit
(
this
);
mpText
->
setObjectName
(
"DockPaletteWidgetBox"
);
mpText
->
setStyleSheet
(
"background:white;"
);
mpLayout
->
addWidget
(
mpText
,
1
);
mpLayout
->
addWidget
(
mpText
,
1
);
}
}
...
@@ -449,11 +454,15 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
...
@@ -449,11 +454,15 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
,
mpUrl
(
NULL
)
,
mpUrl
(
NULL
)
{
{
setObjectName
(
name
);
setObjectName
(
name
);
setAttribute
(
Qt
::
WA_StyledBackground
,
true
);
setStyleSheet
(
UBApplication
::
globalStyleSheet
());
mpLayout
=
new
QHBoxLayout
(
this
);
mpLayout
=
new
QHBoxLayout
(
this
);
setLayout
(
mpLayout
);
setLayout
(
mpLayout
);
mpUrlLabel
=
new
QLabel
(
tr
(
"Url"
),
this
);
mpUrlLabel
=
new
QLabel
(
tr
(
"Url"
),
this
);
mpLayout
->
addWidget
(
mpUrlLabel
,
0
);
mpLayout
->
addWidget
(
mpUrlLabel
,
0
);
mpUrl
=
new
QLineEdit
(
this
);
mpUrl
=
new
QLineEdit
(
this
);
mpUrl
->
setObjectName
(
"DockPaletteWidgetLineEdit"
);
mpLayout
->
addWidget
(
mpUrl
,
1
);
mpLayout
->
addWidget
(
mpUrl
,
1
);
}
}
...
...
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