How to create a folder on WebMatrix - iis-7

How do I create a sub folder within the Pictures folder?
I need this because when you save a project, will create a folder where the folder name is the project code, and then I will save the images in this folder.

1) Click the Files Workspace (in the Left Panel)
2) Select the parent folder (or root of the site) in the Tree
3) In the Ribbon, in the "New" Button, click only the Arrow (the bottom of the button) and you will see a "New Folder" option. Note that if you click the center of the button you will get the "new file dialog" so you need to click only the arrow facing downwards.

Related

Inserting an image in GUI using QT Designer

I am new to QtDesigner. I wanted to know how to insert an image in the GUI using QT Designer. I am trying to add a logo. Help would be appreciated.
You can start inserting a label. Next, you right click on it an then click "change rich text...". A new window will pop-up.
Click on the figure Icon "Insert figure".
Now, you have to create a resource file. Click on the Pencil button.
Next, click on the "New resource file" button.
Choose a name and a folder (your working directory would be a good choice) to save it.
Now, click on the "Add prefix" button.
Choose a name for it.
Then, click on the "Add file" button.
And there you go! Click "OK" and you figure should be there.
Just be aware that you should resize your figure to a proper size before using it.
Hope it helps!
The easiest way I've seen so on :
You drag and drop your Label on your window, select the Label, you'll see on the right side of your screen the 'Property Editor' frame and the 'QLabel' menu, you click on pixmap => Choose File..., select a file and that's it.
Make sure you have resized it before, you won't be able to do so in QtDesigner.
Just for you to know I'm just a beginner on PyQT5 / QtDesigner, so that may not be the proper way to do it.
Hope it helps

Xcode: Delete extern folder

I have this distribution:
I want delete new group folder, but its impossible!!!!
I cant add new files inside my project, for default only can add in this new folder....
If i drag my proyect to other folder, the result is:
i cant delete this folder...
If you try drag this folder inside the proyect:
just drag your project outside your new group folder then right click it > Delete.
select your offending group in the list of files & folders & groups (to select it)
then hold down the control key and click again (which brings up the contextual menu)
choose the "Delete" option

How to add date picker control to my toolbox?

I am using visual studio 2005 and I have added Datepicker dll in my bin folder of sample project.And By doing right click on solution Explorer Add:references,choosed the that dll.But I want display that control in my toolbar.Does I need to create tab for it.Or it automatically get created.or need to go to toolbox then right click anywhere in the toolbox area click choose item and then select server control dll from there and it should appear in toolbox.Suppose if I done this for my sample project.But when next time I am using other project using vs 2005,that control can be seen in toolbar.I know we have to add reference into project for dll but for control need to create tab once again?
You will have to open up a new instance of visual studio right click your toolbox, select Add tab, then you right click the newly added tab and select Choose items, browse to the dll and add the dll, this should add the date picker for all projects, at least it worked for me

List of modified files in XCode 4

How do I get to see all the local modified files with respect to the sub-version copy as a list?
XCode 3 had a shortcut and a view to show these from where we could commit the code too: cmd+shift+v
I see no alternative to it in XCode 4. Anyone knows how?
Thanks,
Raj
In the Project Navigator (the normal source tree view), take a look at the buttons along the bottom edge (to the left of the search filter field). The middle button turns on a filter that shows only files with source control status (uncommitted changes).
Bottom right corner of Filter (selected state) of Project Navigator, their is button for "Show only files with source-control status", by pressing this button it will show only modified files in Project Navigator.

How do you use dialog forms in Qt designer?

How do you create and access dialog forms in Qt designer?
At the risk of pointing out the blisteringly obvious...
Qt Designer -> File -> New -> Dialog [with buttons/without buttons] -> Create.
You then drag widgets from the Widget Box into the dialog. (View -> Widget Box if you can't see it.)
If you want auto-sizing support, you drag a Layout into the Dialog, then drag your Widgets into the layout.
Qt Designer -> File -> New
Click Create.
Can view code by Menu->Form->ViewCode
Generally, you create a dialog form the same way you do other widgets in Qt designer. That is to say, create a new widget, and fill it with the widgets you want. You'll need to create code files to manage how the dialog works, of course.
To show the dialog, you should create an instance of the widget and show it. Generally, a widget that has no parent will be shown as a separate window. Alternately, if your widget inherits from QDialog, you can pass a parent but it will still show as a separate window.
Launching QtDesigner with QtCreator 3.6.1
QtCreator 3.6.1
Qt 5.6
OSX Yosemite 10.10.5
I installed Qt via:
qt-unified-mac-x64-2.0.2-2-online.dmg
The default installation directory was /Users/7stud/Qt. I found QtCreator.app at the top level of that directory.
I installed sip and then pyqt from source:
PyQt-gpl-5.5.1.tar.gz
as presented here: https://www.riverbankcomputing.com/software/pyqt/download5
To access QtDesigner:
Launch QtCreator, and from the menu bar (outside QtCreator), click on:
File>New File or Project
You will be presented with a New File or Project dialog window. In the Files And Classes section, select Qt. In the middle pane, select QtDesigner Form. Then click on the Choose button in the lower right corner.
You will be presented with a QtDesigner Form dialog window. Then you can select Main Window or Dialog with Buttons Bottom, etc. Then click on the Continue button in the lower right corner.
In the Location dialog window, use a name like mainwindow1.ui, and for the path you might want to step aside and create a directory called forms, e.g. $ mkdir /Users/7stud/qt_projects/forms, then enter that as the path.
Enter any other details and click on Done. That will land you in QtCreator with the Design button selected (which means you are in QtDesigner), and you will be able to drag and drop widgets onto your window.
To convert the .ui file to a .py file that you can import into your python program:
$ pyuic5 mainwindow1.ui -o mainwindow1.py
-o => output file (default is stdout)
That command converts the .ui file mainwindow1.ui to a .py file named mainwindow1.py.

Resources