traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/traverso/widgets TransportConsoleW...


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/traverso/widgets TransportConsoleW...
Date: Fri, 20 Feb 2009 22:19:49 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       09/02/20 22:19:49

Modified files:
        src/traverso/widgets: TransportConsoleWidget.cpp 
                              TransportConsoleWidget.h 

Log message:
        * change QPushButton in a QLabel for the m_timeLabel variable, makes 
more sense ?

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/widgets/TransportConsoleWidget.cpp?cvsroot=traverso&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/widgets/TransportConsoleWidget.h?cvsroot=traverso&r1=1.10&r2=1.11

Patches:
Index: TransportConsoleWidget.cpp
===================================================================
RCS file: 
/sources/traverso/traverso/src/traverso/widgets/TransportConsoleWidget.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- TransportConsoleWidget.cpp  7 Feb 2009 19:08:55 -0000       1.19
+++ TransportConsoleWidget.cpp  20 Feb 2009 22:19:49 -0000      1.20
@@ -20,11 +20,22 @@
 */
 
 #include "TransportConsoleWidget.h"
-#include "libtraversocore.h"
+
 #include "Themer.h"
+#include "Sheet.h"
+#include "Utils.h"
+#include "Track.h"
+#include "ProjectManager.h"
+#include "Project.h"
+#include "Config.h"
+#include "Information.h"
 
 #include <QAction>
-#include <QToolButton>
+#include <QWidget>
+#include <QLabel>
+#include <QEvent>
+#include <QFont>
+#include <QString>
 
 // Always put me below _all_ includes, this is needed
 // in case we run with memory leak detection enabled!
@@ -36,7 +47,7 @@
 {
        setEnabled(false);
 
-       m_timeLabel = new QToolButton(this);
+       m_timeLabel = new QLabel(this);
        m_timeLabel->setStyleSheet(
                        "color: lime;"
                        "background-color: black;"

Index: TransportConsoleWidget.h
===================================================================
RCS file: 
/sources/traverso/traverso/src/traverso/widgets/TransportConsoleWidget.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- TransportConsoleWidget.h    7 Feb 2009 19:08:55 -0000       1.10
+++ TransportConsoleWidget.h    20 Feb 2009 22:19:49 -0000      1.11
@@ -22,18 +22,15 @@
 #ifndef TRANSPORTCONSOLEWIDGET_H
 #define TRANSPORTCONSOLEWIDGET_H
 
-#include <QWidget>
+
 #include <QTimer>
 #include <QToolBar>
-#include <QToolButton>
-#include <QEvent>
-#include <QFont>
-#include <QString>
 
 #include "defines.h"
 
 class Project;
 class Sheet;
+class QLabel;
 
 class TransportConsoleWidget : public QToolBar
 {
@@ -43,7 +40,7 @@
        TransportConsoleWidget(QWidget* parent);
 
 private:
-       QToolButton*    m_timeLabel;
+       QLabel*         m_timeLabel;
        Project*        m_project;
        Sheet*          m_sheet;
        QAction*        m_toStartAction;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]