1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

GCS-Added gradient to edit gadgets bar

This commit is contained in:
PT_Dreamer 2012-08-16 23:30:31 +01:00
parent 92114bf952
commit 525dec1748
3 changed files with 3 additions and 0 deletions

View File

@ -1 +1,2 @@
MyListWidget {font-size: 11px;}
Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(200, 200, 200, 255));}

View File

@ -37,6 +37,7 @@ namespace Utils {
class QTCREATOR_UTILS_EXPORT StyledBar : public QWidget
{
Q_OBJECT
public:
StyledBar(QWidget *parent = 0);
void setSingleRow(bool singleRow);

View File

@ -41,6 +41,7 @@
#include <QtGui/QComboBox>
#include "core_global.h"
#include <QTimer>
QT_BEGIN_NAMESPACE
class QTabWidget;