|
From: <cn...@us...> - 2020-10-28 00:32:33
|
Revision: 1082
http://sourceforge.net/p/seq/svn/1082
Author: cn187
Date: 2020-10-28 00:32:23 +0000 (Wed, 28 Oct 2020)
Log Message:
-----------
Replace Q3Frame with QFrame
Modified Paths:
--------------
showeq/branches/pre_6_0_beta/src/interface.h
showeq/branches/pre_6_0_beta/src/map.cpp
showeq/branches/pre_6_0_beta/src/map.h
showeq/branches/pre_6_0_beta/src/messagewindow.cpp
Modified: showeq/branches/pre_6_0_beta/src/interface.h
===================================================================
--- showeq/branches/pre_6_0_beta/src/interface.h 2020-10-28 00:32:16 UTC (rev 1081)
+++ showeq/branches/pre_6_0_beta/src/interface.h 2020-10-28 00:32:23 UTC (rev 1082)
@@ -25,7 +25,6 @@
#include <QWidget>
#include <QPushButton>
-#include <Q3Frame>
#include <QLabel>
#include <Q3ListView>
#include <QLayout>
Modified: showeq/branches/pre_6_0_beta/src/map.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/map.cpp 2020-10-28 00:32:16 UTC (rev 1081)
+++ showeq/branches/pre_6_0_beta/src/map.cpp 2020-10-28 00:32:23 UTC (rev 1082)
@@ -76,7 +76,7 @@
#include <QPaintEvent>
#include <QVBoxLayout>
#include <QPolygon>
-#include <Q3Frame>
+#include <QFrame>
#include <QResizeEvent>
#include <QLabel>
#include <QHBoxLayout>
@@ -141,8 +141,8 @@
m_LineColor->setFixedWidth(m_LineColor->sizeHint().width());
row1Layout->addWidget(m_LineColor, 0, Qt::AlignLeft);
- m_ColorPreview = new Q3Frame(this);
- m_ColorPreview->setFrameStyle(Q3Frame::Box|Q3Frame::Raised);
+ m_ColorPreview = new QFrame(this);
+ m_ColorPreview->setFrameStyle(QFrame::Box|QFrame::Raised);
m_ColorPreview->setFixedWidth(50);
m_ColorPreview->setFixedHeight(m_LineColor->sizeHint().height());
m_ColorPreview->setPalette(QPalette(QColor(Qt::gray)));
@@ -204,7 +204,7 @@
m_Map = map;
setMargin( 1 );
setIndent( 0 );
- setFrameStyle( Q3Frame::Plain | Q3Frame::Box );
+ setFrameStyle( QFrame::Plain | QFrame::Box );
setLineWidth( 1 );
setAlignment( Qt::AlignLeft | Qt::AlignTop );
polish();
@@ -4682,7 +4682,7 @@
tmpLabel->setText("You:");
playerLocationBoxLayout->addWidget(tmpLabel);
m_playerLocation = new QLabel(m_playerLocationBox);
- m_playerLocation->setFrameStyle(Q3Frame::Panel | Q3Frame::Sunken);
+ m_playerLocation->setFrameStyle(QFrame::Panel | QFrame::Sunken);
m_playerLocation->setText("0 0 0 ");
m_playerLocation->setMinimumWidth(90);
playerLocationBoxLayout->addWidget(m_playerLocation);
@@ -4710,7 +4710,7 @@
tmpLabel->setText("Cursor:");
mouseLocationBoxLayout->addWidget(tmpLabel);
m_mouseLocation = new QLabel(m_mouseLocationBox);
- m_mouseLocation->setFrameStyle(Q3Frame::Panel | Q3Frame::Sunken);
+ m_mouseLocation->setFrameStyle(QFrame::Panel | QFrame::Sunken);
m_mouseLocation->setText("0 0 ");
m_mouseLocation->setMinimumWidth(90);
mouseLocationBoxLayout->addWidget(m_mouseLocation);
Modified: showeq/branches/pre_6_0_beta/src/map.h
===================================================================
--- showeq/branches/pre_6_0_beta/src/map.h 2020-10-28 00:32:16 UTC (rev 1081)
+++ showeq/branches/pre_6_0_beta/src/map.h 2020-10-28 00:32:23 UTC (rev 1082)
@@ -57,7 +57,7 @@
#include <QMouseEvent>
#include <QEvent>
#include <QVBoxLayout>
-#include <Q3Frame>
+#include <QFrame>
#include <QPaintEvent>
#include <ctime>
@@ -120,7 +120,7 @@
QComboBox *m_LineColor;
QLineEdit *m_LineName;
- Q3Frame *m_ColorPreview;
+ QFrame *m_ColorPreview;
public slots:
void changeColor(const QString &);
};
Modified: showeq/branches/pre_6_0_beta/src/messagewindow.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/messagewindow.cpp 2020-10-28 00:32:16 UTC (rev 1081)
+++ showeq/branches/pre_6_0_beta/src/messagewindow.cpp 2020-10-28 00:32:23 UTC (rev 1082)
@@ -44,7 +44,7 @@
#include <QKeyEvent>
#include <QGridLayout>
#include <QFormLayout>
-#include <Q3Frame>
+#include <QFrame>
#include <QMouseEvent>
#include <QEvent>
@@ -296,8 +296,8 @@
QVBoxLayout * exampleBoxLayout = new QVBoxLayout(exampleBox);
m_example = new QLabel(caption, exampleBox, "example");
- m_example->setFrameShape(Q3Frame::Box);
- m_example->setFrameShadow(Q3Frame::Sunken);
+ m_example->setFrameShape(QFrame::Box);
+ m_example->setFrameShadow(QFrame::Sunken);
if (m_style.color().isValid())
m_example->setPaletteForegroundColor(m_style.color());
else
@@ -474,7 +474,7 @@
setWidget(m_messageWindow);
// set the message window frame style
- m_messageWindow->setFrameStyle(Q3Frame::Panel | Q3Frame::Sunken);
+ m_messageWindow->setFrameStyle(QFrame::Panel | QFrame::Sunken);
// set the current font
m_messageWindow->setCurrentFont(font());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|