資源簡(jiǎn)介
QT畫地震數(shù)據(jù)(按道繪圖)
代碼片段和文件信息
#include?“draw4.h“
#include?
#include?
#include?
#include?
#include?
#include?
#include?
using?namespace?std;
draw4::draw4(QWidget?*parent)
????:?QWidget(parent)
{
ui.setupUi(this);
}
void?draw4::paintEvent(QPaintEvent?*?/*?event?*/)
{
static?int m_allrow;?????//?all?rows總道數(shù)
static?int m_begincol;???//?begin?col起始顯示樣點(diǎn)編號(hào)
static?int m_beginrow;???//?begin?row起始顯示道號(hào)
static?int m_col;????????//?每道顯示的樣點(diǎn)數(shù)
static?int m_dataless;???//?數(shù)據(jù)縮小倍數(shù)
static?QString m_file;???????//?SEG-Y?數(shù)據(jù)文件名
static?int m_graphless;??//?圖形縮小倍數(shù)
static?int m_row;????????//?欲顯示道數(shù)
static?int m_width;??????//?道間間隔
static?int ????m_check;??????//?是否處理后數(shù)據(jù)
QWidget?????????*m_Wnd;
m_dataless=100;
m_graphless=1;
m_check=0;
m_row=100;
m_wid
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????4066??2008-11-18?00:49??draw4\.cproject
?????文件???????2887??2008-11-17?23:48??draw4\.project
?????文件???????4813??2008-11-18?10:27??draw4\draw4.cpp
?????文件????????806??2008-11-18?01:05??draw4\draw4.h
?????文件????????154??2008-11-17?23:48??draw4\draw4.pro
?????文件????????394??2008-11-19?10:59??draw4\draw4.ui
?????文件????????180??2008-11-18?02:05??draw4\main.cpp
?????文件???????5223??2008-11-18?02:58??draw4\Makefile
?????文件???????5246??2008-11-18?02:58??draw4\Makefile.Debug
?????文件???????5319??2008-11-18?02:58??draw4\Makefile.Release
?????文件????3505680??2008-11-18?01:47??draw4\test.sgy
?????文件???????1294??2008-11-19?10:59??draw4\ui_draw4.h
?????目錄??????????0??2008-11-19?10:59??draw4\debug
?????目錄??????????0??2008-11-17?23:48??draw4\release
?????目錄??????????0??2008-11-18?01:47??draw4
-----------?---------??----------?-----??----
??????????????3536280????????????????????16
評(píng)論
共有 條評(píng)論