mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
move topbar to libtomahawk
This commit is contained in:
@@ -50,12 +50,6 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
|||||||
sourcetree/sourcetreeitemwidget.cpp
|
sourcetree/sourcetreeitemwidget.cpp
|
||||||
sourcetree/sourcetreeview.cpp
|
sourcetree/sourcetreeview.cpp
|
||||||
|
|
||||||
topbar/topbar.cpp
|
|
||||||
topbar/clearbutton.cpp
|
|
||||||
topbar/searchlineedit.cpp
|
|
||||||
topbar/lineedit.cpp
|
|
||||||
topbar/searchbutton.cpp
|
|
||||||
|
|
||||||
transferview.cpp
|
transferview.cpp
|
||||||
tomahawktrayicon.cpp
|
tomahawktrayicon.cpp
|
||||||
audiocontrols.cpp
|
audiocontrols.cpp
|
||||||
@@ -86,13 +80,6 @@ SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
|||||||
sourcetree/sourcetreeitemwidget.h
|
sourcetree/sourcetreeitemwidget.h
|
||||||
sourcetree/sourcetreeview.h
|
sourcetree/sourcetreeview.h
|
||||||
|
|
||||||
topbar/topbar.h
|
|
||||||
topbar/clearbutton.h
|
|
||||||
topbar/searchlineedit.h
|
|
||||||
topbar/lineedit.h
|
|
||||||
topbar/lineedit_p.h
|
|
||||||
topbar/searchbutton.h
|
|
||||||
|
|
||||||
transferview.h
|
transferview.h
|
||||||
tomahawktrayicon.h
|
tomahawktrayicon.h
|
||||||
audiocontrols.h
|
audiocontrols.h
|
||||||
@@ -107,7 +94,6 @@ SET( tomahawkUI ${tomahawkUI}
|
|||||||
|
|
||||||
audiocontrols.ui
|
audiocontrols.ui
|
||||||
sourcetree/sourcetreeitemwidget.ui
|
sourcetree/sourcetreeitemwidget.ui
|
||||||
topbar/topbar.ui
|
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
|
@@ -90,6 +90,11 @@ set( libSources
|
|||||||
playlist/albumproxymodel.cpp
|
playlist/albumproxymodel.cpp
|
||||||
playlist/albumitemdelegate.cpp
|
playlist/albumitemdelegate.cpp
|
||||||
playlist/albumview.cpp
|
playlist/albumview.cpp
|
||||||
|
playlist/topbar/topbar.cpp
|
||||||
|
playlist/topbar/clearbutton.cpp
|
||||||
|
playlist/topbar/searchlineedit.cpp
|
||||||
|
playlist/topbar/lineedit.cpp
|
||||||
|
playlist/topbar/searchbutton.cpp
|
||||||
|
|
||||||
playlist/dynamic/DynamicPlaylist.cpp
|
playlist/dynamic/DynamicPlaylist.cpp
|
||||||
playlist/dynamic/DynamicControl.cpp
|
playlist/dynamic/DynamicControl.cpp
|
||||||
@@ -223,6 +228,12 @@ set( libHeaders
|
|||||||
playlist/albumproxymodel.h
|
playlist/albumproxymodel.h
|
||||||
playlist/albumitemdelegate.h
|
playlist/albumitemdelegate.h
|
||||||
playlist/albumview.h
|
playlist/albumview.h
|
||||||
|
playlist/topbar/topbar.h
|
||||||
|
playlist/topbar/clearbutton.h
|
||||||
|
playlist/topbar/searchlineedit.h
|
||||||
|
playlist/topbar/lineedit.h
|
||||||
|
playlist/topbar/lineedit_p.h
|
||||||
|
playlist/topbar/searchbutton.h
|
||||||
|
|
||||||
playlist/dynamic/DynamicPlaylist.h
|
playlist/dynamic/DynamicPlaylist.h
|
||||||
playlist/dynamic/DynamicControl.h
|
playlist/dynamic/DynamicControl.h
|
||||||
@@ -257,6 +268,7 @@ set( libUI ${libUI}
|
|||||||
widgets/newplaylistwidget.ui
|
widgets/newplaylistwidget.ui
|
||||||
widgets/welcomewidget.ui
|
widgets/welcomewidget.ui
|
||||||
widgets/infowidgets/sourceinfowidget.ui
|
widgets/infowidgets/sourceinfowidget.ui
|
||||||
|
playlist/topbar/topbar.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
||||||
|
@@ -29,8 +29,9 @@
|
|||||||
#ifndef LINEEDIT_H
|
#ifndef LINEEDIT_H
|
||||||
#define LINEEDIT_H
|
#define LINEEDIT_H
|
||||||
|
|
||||||
#include <qlineedit.h>
|
#include <QLineEdit>
|
||||||
|
|
||||||
|
#include "dllmacro.h"
|
||||||
class QHBoxLayout;
|
class QHBoxLayout;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -44,7 +45,7 @@ class QHBoxLayout;
|
|||||||
into the center of the widget.
|
into the center of the widget.
|
||||||
*/
|
*/
|
||||||
class SideWidget;
|
class SideWidget;
|
||||||
class LineEdit : public QLineEdit
|
class DLLEXPORT LineEdit : public QLineEdit
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(QString inactiveText READ inactiveText WRITE setInactiveText)
|
Q_PROPERTY(QString inactiveText READ inactiveText WRITE setInactiveText)
|
@@ -22,8 +22,10 @@
|
|||||||
|
|
||||||
#include <qabstractbutton.h>
|
#include <qabstractbutton.h>
|
||||||
|
|
||||||
|
#include "dllmacro.h"
|
||||||
|
|
||||||
class QCompleter;
|
class QCompleter;
|
||||||
class SearchButton : public QAbstractButton
|
class DLLEXPORT SearchButton : public QAbstractButton
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
@@ -12,7 +12,7 @@ namespace Ui
|
|||||||
class TopBar;
|
class TopBar;
|
||||||
}
|
}
|
||||||
|
|
||||||
class TopBar : public QWidget
|
class DLLEXPORT TopBar : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Reference in New Issue
Block a user