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
5c9a04ba
Commit
5c9a04ba
authored
Sep 08, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the search bar bug.
parent
36abfc5c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
19 deletions
+23
-19
UBSvgSubsetAdaptor.cpp
src/adaptors/UBSvgSubsetAdaptor.cpp
+1
-0
UBLibraryController.cpp
src/board/UBLibraryController.cpp
+0
-5
UBPreferencesController.cpp
src/core/UBPreferencesController.cpp
+1
-3
UBLibActionBar.cpp
src/gui/UBLibActionBar.cpp
+7
-0
UBLibActionBar.h
src/gui/UBLibActionBar.h
+1
-0
UBLibNavigatorWidget.cpp
src/gui/UBLibNavigatorWidget.cpp
+3
-0
UBLibPathViewer.cpp
src/gui/UBLibPathViewer.cpp
+5
-5
UBLibraryWidget.cpp
src/gui/UBLibraryWidget.cpp
+1
-0
UBLibraryWidget.h
src/gui/UBLibraryWidget.h
+1
-0
WBTabWidget.cpp
src/web/browser/WBTabWidget.cpp
+3
-6
No files found.
src/adaptors/UBSvgSubsetAdaptor.cpp
View file @
5c9a04ba
...
...
@@ -1058,6 +1058,7 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene()
continue
;
}
qDebug
()
<<
item
;
UBGraphicsCache
*
cache
=
qgraphicsitem_cast
<
UBGraphicsCache
*>
(
item
);
if
(
cache
&&
cache
->
isVisible
())
{
...
...
src/board/UBLibraryController.cpp
View file @
5c9a04ba
...
...
@@ -443,11 +443,6 @@ QList<UBLibElement*> UBLibraryController::getContent(UBLibElement *element)
break
;
}
// qDebug() << "getContent()";
// qDebug() << this;
// foreach(UBLibElement*eachElement, mElementsList)
// qDebug() << eachElement;
return
mElementsList
;
}
...
...
src/core/UBPreferencesController.cpp
View file @
5c9a04ba
...
...
@@ -110,9 +110,7 @@ void UBPreferencesController::wire()
for
(
int
i
=
0
;
i
<
settings
->
supportedKeyboardSizes
->
size
();
i
++
)
mPreferencesUI
->
keyboardPaletteKeyButtonSize
->
addItem
(
settings
->
supportedKeyboardSizes
->
at
(
i
));
// mPreferencesUI->keyboardPaletteKeyButtonSize->addItem("29x29");
// mPreferencesUI->keyboardPaletteKeyButtonSize->addItem("30x30");
// mPreferencesUI->keyboardPaletteKeyButtonSize->addItem("41x41");
connect
(
mPreferencesUI
->
keyboardPaletteKeyButtonSize
,
SIGNAL
(
currentIndexChanged
(
const
QString
&
)),
settings
->
boardKeyboardPaletteKeyBtnSize
,
SLOT
(
setString
(
const
QString
&
)));
...
...
src/gui/UBLibActionBar.cpp
View file @
5c9a04ba
...
...
@@ -501,6 +501,13 @@ void UBLibActionBar::onNavigbarUpdate(UBLibElement *crntElem)
}
}
void
UBLibActionBar
::
onItemChanged
()
{
mSearchBar
->
setText
(
""
);
mpSearchBtn
->
setEnabled
(
false
);
}
/**
* \brief Construtor
* @param parent as the parent widget
...
...
src/gui/UBLibActionBar.h
View file @
5c9a04ba
...
...
@@ -66,6 +66,7 @@ public slots:
void
onSelectionChanged
(
QList
<
UBLibElement
*>
itemList
,
bool
isInTrash
);
void
onFavoritesEntered
(
bool
bFav
);
void
onNavigbarUpdate
(
UBLibElement
*
crntElem
);
void
onItemChanged
();
protected
:
void
enterEvent
(
QEvent
*
event
);
...
...
src/gui/UBLibNavigatorWidget.cpp
View file @
5c9a04ba
...
...
@@ -73,6 +73,9 @@ UBLibNavigatorWidget::UBLibNavigatorWidget(QWidget *parent, const char *name):QW
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
searchElement
(
QString
)),
mLibWidget
,
SLOT
(
onSearchElement
(
QString
)));
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
newFolderToCreate
()),
mLibWidget
,
SLOT
(
onNewFolderToCreate
()));
connect
(
mLibWidget
,
SIGNAL
(
itemClicked
()),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
connect
(
mPathViewer
,
SIGNAL
(
mouseClick
(
UBChainedLibElement
*
)),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
mLibWidget
->
init
();
}
...
...
src/gui/UBLibPathViewer.cpp
View file @
5c9a04ba
...
...
@@ -58,16 +58,16 @@ UBLibPathViewer::UBLibPathViewer(QWidget *parent, const char *name):QGraphicsVie
*/
UBLibPathViewer
::~
UBLibPathViewer
()
{
// if(NULL != mpLayout)
// {
// delete mpLayout;
// mpLayout = NULL;
// }
if
(
NULL
!=
mpContainer
)
{
delete
mpContainer
;
mpContainer
=
NULL
;
}
//if(NULL != mpLayout)
//{
// delete mpLayout;
// mpLayout = NULL;
//}
if
(
NULL
!=
mpElems
)
{
delete
mpElems
;
...
...
src/gui/UBLibraryWidget.cpp
View file @
5c9a04ba
...
...
@@ -167,6 +167,7 @@ void UBLibraryWidget::onItemClicked(QGraphicsItem *item, int index)
emit
propertiesRequested
(
pElem
);
}
}
emit
itemClicked
();
}
}
}
...
...
src/gui/UBLibraryWidget.h
View file @
5c9a04ba
...
...
@@ -60,6 +60,7 @@ signals:
void
itemsSelected
(
QList
<
UBLibElement
*>
elemList
,
bool
inTrash
);
void
propertiesRequested
(
UBLibElement
*
pElem
);
void
favoritesEntered
(
bool
bFav
);
void
itemClicked
();
protected
:
void
dragEnterEvent
(
QDragEnterEvent
*
event
);
...
...
src/web/browser/WBTabWidget.cpp
View file @
5c9a04ba
...
...
@@ -237,16 +237,13 @@ WBTabWidget::WBTabWidget(QWidget *parent)
setDocumentMode
(
false
);
mRecentlyClosedTabsMenu
=
new
QMenu
(
this
);
connect
(
mRecentlyClosedTabsMenu
,
SIGNAL
(
aboutToShow
()),
this
,
SLOT
(
aboutToShowRecentTabsMenu
()));
connect
(
mRecentlyClosedTabsMenu
,
SIGNAL
(
triggered
(
QAction
*
)),
this
,
SLOT
(
aboutToShowRecentTriggeredAction
(
QAction
*
)));
connect
(
mRecentlyClosedTabsMenu
,
SIGNAL
(
aboutToShow
()),
this
,
SLOT
(
aboutToShowRecentTabsMenu
()));
connect
(
mRecentlyClosedTabsMenu
,
SIGNAL
(
triggered
(
QAction
*
)),
this
,
SLOT
(
aboutToShowRecentTriggeredAction
(
QAction
*
)));
mRecentlyClosedTabsAction
=
new
QAction
(
tr
(
"Recently Closed Tabs"
),
this
);
mRecentlyClosedTabsAction
->
setMenu
(
mRecentlyClosedTabsMenu
);
mRecentlyClosedTabsAction
->
setEnabled
(
false
);
connect
(
this
,
SIGNAL
(
currentChanged
(
int
)),
this
,
SLOT
(
currentChanged
(
int
)));
connect
(
this
,
SIGNAL
(
currentChanged
(
int
)),
this
,
SLOT
(
currentChanged
(
int
)));
mLineEdits
=
new
QStackedWidget
(
this
);
mLineEdits
->
setMinimumWidth
(
200
);
...
...
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