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 <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
#include <boost/spirit.hpp> | |
#include <string> | |
#include <typeinfo> | |
namespace VQL | |
{ | |
template <typename Iterator> | |
auto parse(Iterator begin, Iterator end, bool& success) |
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
Label | |
{ | |
text:myData.name | |
} |
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
// En C++ , passer votre QVariant au contexte qml | |
qml->setContextProperty("myData",data); | |