actual version libs withiout pip

git-svn-id: svn://db.shs.com.ru/libs@2 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2015-03-24 08:14:45 +00:00
parent ba8bc27298
commit b3e47dfc99
1566 changed files with 105 additions and 193405 deletions

View File

@@ -1,25 +0,0 @@
[Containments][1]
ActionPluginsSource=Global
activity=kx_tools
activityId=
desktop=-1
formfactor=0
geometry=0,0,1508,862
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=newspaper
screen=0
wallpaperplugin=color
wallpaperpluginmode=
zvalue=0
[Containments][1][Wallpaper][color]
backgroundMode=0
color1=255,255,255
color2=0,0,0
[Project]
Manager=KDevCMakeManager
Name=kx_tools

View File

@@ -1,175 +0,0 @@
[Buildset]
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x10\x00k\x00x\x00_\x00t\x00o\x00o\x00l\x00s)
[CMake]
Build Directory Count=1
Current Build Directory Index=0
ProjectRootRelative=./
[CMake][CMake Build Directory 0]
Build Directory Path=file:///mnt/data/orders/libs/kx_tools/
Build Type=
CMake Binary=file:///usr/bin/cmake
Environment Profile=
Extra Arguments=
Install Directory=file:///usr/local
[Defines And Includes][Compiler]
Name=GCC
Path=gcc
Type=GCC
[Filters]
size=23
[Filters][0]
inclusive=0
pattern=.*
targets=3
[Filters][1]
inclusive=0
pattern=.git
targets=2
[Filters][10]
inclusive=0
pattern=*.a
targets=1
[Filters][11]
inclusive=0
pattern=*.so
targets=1
[Filters][12]
inclusive=0
pattern=*.so.*
targets=1
[Filters][13]
inclusive=0
pattern=moc_*
targets=1
[Filters][14]
inclusive=0
pattern=*.moc
targets=1
[Filters][15]
inclusive=0
pattern=ui_*
targets=1
[Filters][16]
inclusive=0
pattern=qrc_*
targets=1
[Filters][17]
inclusive=0
pattern=*~
targets=1
[Filters][18]
inclusive=0
pattern=.*.kate-swp
targets=1
[Filters][19]
inclusive=0
pattern=.*.swp
targets=1
[Filters][2]
inclusive=0
pattern=CVS
targets=2
[Filters][20]
inclusive=0
pattern=*.pyc
targets=1
[Filters][21]
inclusive=0
pattern=*.pyo
targets=1
[Filters][22]
inclusive=0
pattern=__pycache__
targets=1
[Filters][3]
inclusive=0
pattern=.svn
targets=2
[Filters][4]
inclusive=0
pattern=_svn
targets=2
[Filters][5]
inclusive=0
pattern=SCCS
targets=2
[Filters][6]
inclusive=0
pattern=_darcs
targets=2
[Filters][7]
inclusive=0
pattern=.hg
targets=2
[Filters][8]
inclusive=0
pattern=.bzr
targets=2
[Filters][9]
inclusive=0
pattern=*.o
targets=1
[Launch]
Launch Configurations=Launch Configuration 0,Launch Configuration 1
[Launch][Launch Configuration 0]
Configured Launch Modes=execute
Configured Launchers=nativeAppLauncher
Name=kx_pult
Type=Native Application
[Launch][Launch Configuration 0][Data]
Arguments=
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x02\x00\x00\x00\x10\x00k\x00x\x00_\x00t\x00o\x00o\x00l\x00s\x00\x00\x00\x0e\x00k\x00x\x00_\x00p\x00u\x00l\x00t)
Dependency Action=Build
EnvironmentGroup=
Executable=file:///mnt/data/orders/libs/kx_tools/
External Terminal=konsole --noclose --workdir %workdir -e %exe
Project Target=kx_tools,kx_pult
Use External Terminal=false
Working Directory=
isExecutable=false
[Launch][Launch Configuration 1]
Configured Launch Modes=execute
Configured Launchers=scriptAppLauncher
Name=clean
Type=Script Application
[Launch][Launch Configuration 1][Data]
Configured from ProjectItem=kx_tools,clean
Executable=file:///mnt/data/orders/libs/kx_tools/clean
Interpreter=bash
Output Filtering Mode=2
Run current file=false
[MakeBuilder]
Number Of Jobs=8

View File

View File

@@ -1,40 +0,0 @@
k0 = 0
k0.formula = 0
k1 = 0
k1.formula = 0
k2 = 0
k2.formula = 0
k3 = 0
k3.formula = 0
k4 = 0
k4.formula = 0
k5 = 0
k5.formula = 0
k6 = 0
k6.formula = History_Size
k7 = 10
k7.formula = 10
k8 = 4
k8.formula = 4
k9 = 0
k9.formula = 0
k10 = 8
k10.formula = 8
k11 = 0
k11.formula = 0
k12 = 0
k12.formula = 0
k13 = 16
k13.formula = 16
k14 = 2
k14.formula = 2
k15 = 8
k15.formula = 8
k16 = 0.05
k16.formula = 0.05
k17 = 0.05
k17.formula = 0.05
k18 = 6
k18.formula = 6
k19 = 50
k19.formula = 50

View File

@@ -1,11 +0,0 @@
title = Synchro-a #s
k.ip = 127.0.0.1 #i
k.sender.port = 26102 #n
k.receiver.port = 26101 #n
x.ip = 127.0.0.1 #i
x.sender.port = 16102 #n
x.receiver.port = 16101 #n
x.frequency = 20 #f
x.output_dir = . #D

View File

@@ -1,5 +1,4 @@
#include <QScrollBar>
#include <QMessageBox>
#include <math.h>
#include "kx_pult.h"
#include "ui_kx_pult.h"
@@ -400,7 +399,7 @@ void KX_Pult::on_buttonSetDesc_clicked() {
QString ret = QFileDialog::getOpenFileName(this, trUtf8("Select *.h file with K description"), kdesc_file, "C/C++ header files(*.h *.hpp);;All files(*)");
if (ret.isEmpty()) return;
kdesc_file = QDir::current().relativeFilePath(ret);
updateKDesc(true);
updateKDesc();
}
@@ -479,7 +478,7 @@ void KX_Pult::updateDiag() {
}
void KX_Pult::updateKDesc(bool ask_move) {
void KX_Pult::updateKDesc() {
kdesc.clear();
QFile f(kdesc_file);
if (!f.open(QIODevice::ReadOnly)) {
@@ -533,10 +532,7 @@ void KX_Pult::updateKDesc(bool ask_move) {
ui->spinSize->setValue(cind);
ui->spinSize->setStyleSheet("background-color: rgb(220, 220, 255);");
}
bool move = false;
if (ask_move)
move = (QMessageBox::question(this, "KX Pult", "Save values at associated names?", QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes) == QMessageBox::Yes);
updateTree(move);
updateTree();
}
@@ -546,21 +542,12 @@ bool stringComp(const QString & s1, const QString & s2) {
return s1 > s2;
}
void KX_Pult::updateTree(bool move) {
void KX_Pult::updateTree() {
int sp = ui->treeK->verticalScrollBar()->value();
QApplication::setOverrideCursor(Qt::WaitCursor);
//qDebug() << "fill tree ...";
QMap<QString, QString> prev_val;
if (move) {
for (int i = 0; i < ui->treeK->topLevelItemCount(); ++i) {
QTreeWidgetItem * ti = ui->treeK->topLevelItem(i);
if (!ti->text(1).isEmpty())
prev_val[ti->text(1)] = ti->text(2);
}
}
ui->treeK->clear();
ui->treeK->setUpdatesEnabled(false);
QApplication::setOverrideCursor(Qt::WaitCursor);
//qDebug() << "fill tree ...";
eval.clearCustomVariables();
for (int i = 0; i < K.size_s(); ++i) {
QTreeWidgetItem * ti = new QTreeWidgetItem();
@@ -575,10 +562,6 @@ void KX_Pult::updateTree(bool move) {
knames_sort << kd.name;
eval.content.addVariable(kd.name, 0., false);
}
if (move && !kd.name.isEmpty()) {
if (prev_val.contains(kd.name))
coeffs.setFormula(i, Q2PIString(prev_val[kd.name]));
}
ti->setText(0, QString::number(i));
ti->setText(1, kd.name);
ti->setText(2, PI2QString(coeffs.formula(i)));

Binary file not shown.

View File

@@ -118,8 +118,8 @@ private slots:
void saving(QPIConfig & conf);
void updateGraph();
void updateDiag();
void updateKDesc(bool ask_move = false);
void updateTree(bool move = false);
void updateKDesc();
void updateTree();
void filterTree();
void calculate();
void renew();
@@ -138,7 +138,7 @@ private slots:
void on_buttonWrite_clicked();
void on_buttonResize_clicked();
void on_buttonSetDesc_clicked();
void on_buttonReparseDesc_clicked() {updateKDesc(true);}
void on_buttonReparseDesc_clicked() {updateKDesc();}
void on_buttonCalculate_clicked() {calculate();}
void on_buttonApply_clicked() {renew();}
void on_spinSize_valueChanged(int);

View File

@@ -1,40 +0,0 @@
<RCC>
<qresource prefix="/">
<file>icons/dialog-close.png</file>
<file>icons/edit-clear-.png</file>
<file>icons/edit-guides.png</file>
<file>icons/view-grid.png</file>
<file>icons/zoom-fit-best.png</file>
<file>icons/configure.png</file>
<file>icons/alpha.png</file>
<file>icons/document-save.png</file>
<file>icons/edit-clear-locationbar-rtl.png</file>
<file>icons/edit-find.png</file>
<file>icons/list-add.png</file>
<file>icons/edit-delete.png</file>
<file>icons/item-add.png</file>
<file>icons/item.png</file>
<file>icons/node-add.png</file>
<file>icons/node.png</file>
<file>icons/edit-copy.png</file>
<file>icons/edit-paste.png</file>
<file>icons/expand_s_x.png</file>
<file>icons/expand_s_y.png</file>
<file>icons/expand_x.png</file>
<file>icons/expand_y.png</file>
<file>icons/media-playback-pause.png</file>
<file>icons/media-playback-stop.png</file>
<file>icons/media-record.png</file>
<file>icons/application-exit.png</file>
<file>icons/document-save-.png</file>
<file>icons/view-refresh.png</file>
<file>icons/document-open.png</file>
<file>icons/archive-extract.png</file>
<file>icons/document-export.png</file>
<file>icons/document-import.png</file>
<file>icons/zoom-fit-height.png</file>
<file>icons/layer-visible-off.png</file>
<file>icons/layer-visible-on.png</file>
<file>icons/accessories-calculator.png</file>
</qresource>
</RCC>

View File

@@ -1,3 +0,0 @@
[Project]
Manager=KDevCMakeManager
Name=kx_tools

Binary file not shown.

View File

@@ -1,9 +0,0 @@
KX_Pult state = AAAAKnjaY2Bg+M8ABH8ZwIB1CgMDUw+QwQLFHCD8ByQFAGpOBDg= #s
KX_Pult window state = 0 #n
KX_Pult geometry 0 = AAAALnjaY7x54TQDIwMQMAoCiWUMDGxrGBiYA4B8USD/IJC/Asj3YQADALP2Bgg= #s
kdesc_file = kdesc.h #s
checkKHideEmpty = 0 #b
checkKHideNormal = 0 #b
tabWidget = 2 #n
checkKAutoCalculate = 1 #b
checkKHideExpressions = 1 #b