This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <typeinfo> | |
#include <functional> | |
#include <vector> | |
using namespace std; | |
class Test | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <typeinfo> | |
#include <functional> | |
#include <vector> | |
using namespace std; | |
class Test | |
{ | |
public : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <map> | |
#include <string> | |
#include <list> | |
using namespace std; | |
// =========== Classe de base: caché a l'utilisateur ================================== | |
template <typename T> | |
class Base | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pwd | |
MAMAN="maman.vcf.gz" | |
PAPA="pere.vcf.gz" | |
ENFANT="enfant.vcf.gz" | |
DP_MAX=50 | |
EXAC_AF=0.001 | |
# initialize vtools prj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MATABLEVIEW_H | |
#define MATABLEVIEW_H | |
#include <QTableView> | |
class MaTableView : public QTableView | |
{ | |
Q_OBJECT | |
public: | |
explicit MaTableView(QWidget *parent = 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScrollView { | |
scrollViewProperties.pinchToZoomEnabled: true | |
scrollViewProperties.initialScalingMethod: ScalingMethod.AspectFit | |
scrollViewProperties.minContentScale: 1 | |
scrollViewProperties.maxContentScale: 10 | |
scrollViewProperties.scrollMode: ScrollMode.Both | |
Container { | |
WebView { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScrollView { | |
scrollViewProperties.pinchToZoomEnabled: true | |
scrollViewProperties.initialScalingMethod: ScalingMethod.AspectFit | |
scrollViewProperties.minContentScale: 1 | |
scrollViewProperties.maxContentScale: 10 | |
scrollViewProperties.scrollMode: ScrollMode.Both | |
Container { | |
WebView { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void myMessageOutput(QtMsgType type, const char* msg){ | |
fprintf(stdout, "%s\n", msg); | |
fflush(stdout); | |
} | |
int main(int argc, char **argv) | |
{ | |
Application app(argc, argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//parser un json (QString) vers un QVariant | |
QString source = "{"name": "sacha"} | |
QVariant data = QxtJson::parse(source); | |
//affiche "sacha" | |
qDebug()<<data.toMap().value("name").toString(); | |
//ecrire du json | |
QVariantMap data; | |
data.insert("name", "olivier"); | |
QString source = QxtJson::parse(data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Label | |
{ | |
text:myData.name | |
} |