Tutorial by Examples: st

QSize MainMenuListView::Header::sizeHint() const { // fontmetrics() allows to get the default font size for the widget. return QSize(menu->headerAreaWidth(), fontMetrics().height()); } void MainMenuListView::Header::paintEvent(QPaintEvent* event) { // Catches the paint event ...
Detailed instructions on getting blackberry set up or installed.
Detailed instructions on getting apk set up or installed.
Detailed instructions on getting rmarkdown set up or installed.
$> perl -MFoo::Bar\ 9999 $> Foo::Bar version 9999 required--this is only version 1.1.
If condition Then code to execute if true ElseIf condition Then code Else code to execute if conditions are both false End If
create or replace directory DATAPUMP_REMOTE_DIR as '/oracle/scripts/expimp';
Commands: expdp <bkpadmin>/<bkp123> parfile=<exp.par> *Please replace the data in <> with appropriate values as per your environment. You can add/modify parameters as per your requirements. In the above example all the remaining parameters are added in parameter files as...
Prerequisite: Prior to user import it is a good practice to drop the schema or table imported. Commands: impdp <bkpadmin>/<bkp123> parfile=<imp.par> *Please replace the data in <> with appropriate values as per your environment. You can add/modify parameters as per...
Source Server [Export Data]Target Server [Import Data]1. Create a datapump folder that will contain the export dump files4. Create a datapump folder that will contain the import dump files2. Login to database schema that will perform the export.5. Login to database schema that will perform the impor...
Once you have SCons running, create a file named SConstruct: print('..Building World') Now run scons: $ scons scons: Reading SConscript files ... ..Building World scons: done reading SConscript files. scons: Building targets ... scons: `.' is up to date. scons: done building targets. S...
In this example you will be modifying the Marital Status drop-down list found on the Contacts form (CR302000): To add new items to the PXStringListAttribute successor The best way to extend drop-down items hard-coded inside an attribute inherited from the PXStringList or PXIntList attribute is b...
There are some situations where you won't be sure what type a variable is when it is returned from a function. You can always check a variable's type by using var.(type) if you are unsure what type it is: x := someFunction() // Some value of an unknown type is stored in x now switch x := x.(type...
This workaround helped us so much at my job (Tech Support), we made a simple batch file we could run from anywhere (We didnt have the permissions to install the actual exe). This workaround will run OpenSSL and open up the bin folder for you (cause this is where any files you create or modify will b...
private string AddGraph(WordprocessingDocument wpd, string filepath) { ImagePart ip = wpd.MainDocumentPart.AddImagePart(ImagePartType.Jpeg); using (FileStream fs = new FileStream(filepath, FileMode.Open)) { if (fs.Length == 0) return string.Empty; ip.FeedData(fs); ...
pip install scons If you are not to run scons from command line, check that Python scripts directory is added to PATH for your installation. If you want to play with API, import SCons from Python won't work, because SCons 2.5.x and below allows to install multiple versions side-by-side. This was...
Detailed instructions on getting teechart set up or installed.
DATA _null_; CALL SYMPUT('testVariable','testValueText'); ;RUN; In the example above, %PUT &testVariable; will resolve to testvalueText. You may find the need to format your variable within the SYMPUT() call. DATA _null_; CALL SYMPUT('testDate',COMPRESS(PUT(today(...
Here follows a example of what can be done with nested StackViews, giving the user the impression of a continuous scrolling experience using complex user interface elements or alignments.
The big gotcha about scrolling is to determine the offset necessary to present (for instance) a Textfield inside a StackView with is inside the ScrollView. If you try to get the position of Textfield.frame.minY can be 0, because the minY frame is only considering the distance between the element an...

Page 324 of 369