每页像素默认10000,可在config\config.ini配置iHeight
This commit is contained in:
parent
5f4ec06978
commit
8f59098bb2
|
|
@ -173,7 +173,7 @@ void MainWindow::ReadConfig()
|
||||||
//(0:采用最大30000像素高度, 1:采用屏幕工作区域高度, 其他数字:高度采用g_iHeight_MyCustom的值)
|
//(0:采用最大30000像素高度, 1:采用屏幕工作区域高度, 其他数字:高度采用g_iHeight_MyCustom的值)
|
||||||
int iHeight = 10000;
|
int iHeight = 10000;
|
||||||
//读取,MyCustom界面高度
|
//读取,MyCustom界面高度
|
||||||
//qtCommon->readHeight(configPath, iHeight);
|
qtCommon->readHeight(configPath, iHeight);
|
||||||
g_iHeight_MyCustom = iHeight;
|
g_iHeight_MyCustom = iHeight;
|
||||||
|
|
||||||
//Debug模式
|
//Debug模式
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ double QtCommonClass::readHeight(QString filePathName, int &iHeight)
|
||||||
{
|
{
|
||||||
QSettings set(filePathName, QSettings::IniFormat);
|
QSettings set(filePathName, QSettings::IniFormat);
|
||||||
set.beginGroup("config");
|
set.beginGroup("config");
|
||||||
iHeight = set.value("iHeight", "1").toInt();
|
iHeight = set.value("iHeight", "10000").toInt();
|
||||||
set.endGroup();
|
set.endGroup();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user