I've written a small Processing App which I'm planning to release soon. What's still missing is a sweet custom icon for Titlebar/Taskbar (Win) and Dock (Mac). Any suggestions how to do this?
Thx!
Meanwhile I figured it out on my own:
Obviously this works for Mac OS by replacing the sketch.icns file within the exported app, for win & liunx is done by adding this line to your setup method:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
It depends if you have any artistic ability or not.
If not, then you can hire an icon designer to do one, or search the web for free icons - there are billions.
If you have a modicum of artisticness, then you could grab a free icon that is almost what you want and then tweak it. IcoFX is a great free application for doing this sort of thing.
If you think you have what it takes to draw an icon from scratch, then a good plan is to use a vector art package. This allows you to export the same graphic at multiple resolutions so you can get top quality at every icons size you need (from 16x16 to 256x256). Alternatively, draw a large (512x512) verison in a bitmap editor and then downscale it as required. As long as you start big and downscale, you shouldn't have any problems (although to get a good icon at 16x16 and 32x32 you will still need a good eye and a lot of manual tweaking).
In your code, just type this line:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
For Windows/Linux, this will do it. For Mac/OSX, follow these steps:
Find your sketch in Finder
Right click > info, or CmdI
Find your icon and open it in Preview
In Preview, click on your icon and press CmdA or right click > select all
In Preview, press CmdC, or right click > copy
Go back to Finder. Click on the current icon of your sketch. You'll know you've selected it when a blue outline appears. Press CmdV, or right click > paste
Tips:
The standard icon size is 512x512
When making your icon, make sure that your transparencies are working
Related
I'm not sure if this is a bug in Maya or if its an issue on my end- any insight would be appreciated.
I've got a button on a custom shelf. No issues there, it launches the script when clicked, has an annotation and a label, and generally works fine. However, the icon I've selected for it won't appear on the shelf. Instead, I get this:
Oddly enough, even after restarting Maya, the icon is visible in the Shelf Editor window:
So Maya is fully aware of the icon's path (it's a built-in Maya icon after-all) and is capable of displaying it- it just doesn't want to display it on the shelf.
To make matters even crazier, the custom shelf is being created and filled via a plugin that my company uses. As the tech artist, its my job to maintain this shelf, and so the plugin uses a shelf .mel file located in a network drive location, so that the tool can propagate the shelf to all the users on the network. On EVERY other users' machines, the icons are visible. It's only on my machine that they are not. Because of this, I feel that the plugin is not causing the issue. Naturally, all factors need to be considered, so I'm open to the possibility that it could be a problem with the plugin, but it seems odd that my machine would be singled out to have the icons not load on.
The final crazy thing: If I launch Maya the regular way rather than using my company's custom Maya launcher, the icons will not appear 50% of the time, but WILL appear the other 50% of the time. The same thing happens using the custom launcher. Sometimes, half of the buttons have their icons and half don't. It seems totally arbitrary whether Maya loads them or not. But every single time, the icons are visible in the Shelf Editor window.
I guess my question is: What could cause the icons to be visible in the Shelf Editor, but not on the shelf?
After a fair bit of experimentation, I've discovered that Maya does not like using some of its native icons as shelf icons.
I was able to fix the issue by identifying icons that will load every time, and using those.
If you have a particular Maya icon you really like, I recommend locating its file path, copying the image, and putting it somewhere outside of the Maya directory. For me, putting some of the images on our network drive did the trick, and all users were able to see the icons.
Unfortunately I wasn't able to determine why Maya wouldn't allow certain images to be visible on the shelf, and only on certain machines at that. I suspect it has something to do with the directory in which Maya is installed, and the Maya environment paths. But if you ever run into this issue, there are at least the above workarounds.
I need to make buttons that look like standard window title buttons with their icons (close/minimize) in the current operating system (win / osx / linux). Is there a possibility in qml?
You take screenshots (or google for images) of those buttons in their different states (enabled, pressed, highlighted, normal e.t.c), than you style your Buttons to show the right image at the right time.
Which set you need to choose, depends on the OS, which you can query with
Qt.platform.os
Depending on the usecase, it might be worth to investigate the possibility to use real Windows, if you are planning on building some kind of subwindows. Might prove complicated, though.
My son is trying to create his first game using Game Maker Studio 1.4. We followed all steps in the book we are using (Game maker for kids). We now want to try to run the game, but it does not work.
Game Maker shows a Windows dialog that says "Open.." in the title and where you can select "Exe files (*.exe, *.ios, *.psp, *.win, *.droid)". I have no clue what file I should select here? If I cancel, I get a dialog that says "Compile failed, please check the compile window". But there is no error in the compile window, just a message "Compilation finished"
I am assuming you are trying to make the game run on Windows OS, so these steps should work for you.
(Clicking the blue numbers will dispaly and image relevant to the step)
1. Firstly make sure the platform target is for Windows and not a different platform as shown here:1 You click on the drop-down arrow to change the platform you wish to run/export your game too.
2. Now that we have that out of the way near the top left of the screen there should be a green play button. I have circled the button on this image to help you.2 You need to click this Green Play button.
3. After that Game Maker Studio will compile the code (this may take some time depending on how fast your PC is and how big the game is). You can tell if it is compiling if there is a loading box in the centre of the screen. Also remember to be patient as it could take a while.
4. If you have no errors in your code the game will successfully launch and you will be able to play it. If it didn't launch then Game Maker Studio will point out where errors in the code are to make fixing them easier.
I hope this guide helps and if you need any more help then just ask on the forms and I'm sure someone will be able to help you. Have a nice day and happy game developing!
On the GM:S settings (File -> Preferences) on the window view, press "check Windows sdk".
If it turns red => reinstall Windows sdk and Windows visual studio 11 then specify path.
Let me know if it solved your PB
In the Files -> Preferences there's a Temp directory box and mine was set to a dummy drive.
I set it to the actual Temp directory of my computer and now it works well.
As I am putting more widgets on top of more layouts in my application, the space where I design the GUI is getting also bigger for the Qt-creator interface.
I have many buttons and frames which are out of reach. I cannot see them (or click them, of course). I don't know how they look until I run the whole application for debugging.
Is there is a way to zoom out/in the main frame (the whole playground) so that I can see my full GUI design on the UI of Qt IDE?
P.S.: I am working on macBook 13"
Zooming is not possible. You can use Tools -> Form Editor -> Preview.
If the viewport gets too small the QtCreator shows scrollbars which allow to move the part of interest into view.
Note, on some system configurations the scollbars may be very small and hard to handle.
You can use this steps
Tool-->options-> Text editor ->zoom
Text editor
I installed Photoshop-CC that time it was working correctly but after installing few font's of mine and overwriting few fonts, all the text using default Photoshop font get disappeared.
Text disappeared from all the popup window and other side bars .
when you will open your psd file so one popup will appear on you screen.
"some text layers might need to update before the can be used for vector based output. Do you want to update these layers now?"
your just click to update. problem will solve.
if problem will not solved.
you just do below process.
Holding down the Alt + Ctrl + and Shift keys while starting up Photoshop will cause a dialog box to appear. You will be prompted to delete your Photoshop settings file.
Choosing yes will delete the settings file that Photoshop creates and updates whenever you make a change in your settings.
This will defiantly work for you.