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
432af59c
Commit
432af59c
authored
Jan 12, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolved a conflict
parent
9a80913b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
UBWidgetList.h
src/customWidgets/UBWidgetList.h
+2
-2
UBTeacherBarWidget.cpp
src/gui/UBTeacherBarWidget.cpp
+1
-1
No files found.
src/customWidgets/UBWidgetList.h
View file @
432af59c
...
...
@@ -31,7 +31,7 @@ class UBWidgetList : public QScrollArea
public
:
UBWidgetList
(
QWidget
*
parent
=
0
,
eWidgetListOrientation
orientation
=
eWidgetListOrientation_Vertical
,
const
char
*
name
=
"UBWidgetList"
);
~
UBWidgetList
();
void
addWidget
(
QWidget
*
widget
,
bool
isResizable
=
true
);
void
addWidget
(
QWidget
*
widget
);
void
removeWidget
(
QWidget
*
widget
);
void
setMargin
(
int
margin
);
void
setEmptyText
(
const
QString
&
text
);
...
...
@@ -53,7 +53,7 @@ private:
eWidgetListOrientation
mOrientation
;
int
mMargin
;
int
mListElementsSpacing
;
QMap
<
QWidget
*
,
sWidgetProperties
>
mWidgetInfo
;
QMap
<
QWidget
*
,
QSize
>
mWidgetInfo
;
QLabel
*
mpEmptyLabel
;
};
...
...
src/gui/UBTeacherBarWidget.cpp
View file @
432af59c
...
...
@@ -1031,7 +1031,7 @@ void UBTeacherBarPreviewMedia::cleanMedia()
void
UBTeacherBarPreviewMedia
::
loadWidgets
(
QList
<
QWidget
*>
pWidgetsList
,
bool
isResizable
)
{
foreach
(
QWidget
*
eachWidget
,
pWidgetsList
){
mWidget
->
addWidget
(
eachWidget
,
isResizable
);
mWidget
->
addWidget
(
eachWidget
);
mWidgetList
[
eachWidget
]
=
"DRAG UNAVAILABLE"
;
}
}
...
...
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