Which class generate right click menu? - axapta

I would like to check about right menu
I need to give info about View details menu. Which class or form manage the menu?
-> I need to find label (sys or similar) behind View details button , and I would like to check about how generate this tight click menu.
Thanks

Which class or form manage the menu? A kernel method.
The labels for menu is placed here:
C:\Program Files\Microsoft Dynamics AX\60\Server\AOS-name\bin\AxSysEN-US.ktd
or wherever your AOS bin directory is placed. Do not mess with the kernel text files.
How to get a "View details", formerly "Go to main table" item is covered in this SO answer.
See also this forum answer.

Related

QDockWidget form in Qt Creator Designer

I'm using Qt Creator 4.5.0 and am trying to create a QDockWidget that I could modify in the builtin designer (I do this all the time with QDialogs and QMainWindows, so this is the first time trying with a QDockWidget). But I'm having no luck with being able to add any widget elements of any kind to the QDockWidget.
Here are the steps I've taken
In the Projects tree on the left, right click on the project and select "Add New..."
In the window that pops up select "Qt" on the left side, then select "Qt Designer Form Class", then select "Choose"
On this page expand the section for "Widgets", then select "QDockWidget", then select "Next"
On this page give the class a name (for me it's "ImageFilesDockWidget"), then click "Next"
On this page select "Finish" to add the files to the project.
From here the "ImageFilesDockWidget.ui" file will automatically show up, so I tried to add some widgets to the view, but nothing would get added. For example, if I clicked and dragged a pushbutton into the center of the dockwidget, then it displayed a red circle with a line through it to indicate I couldn't add the item.
If anyone has run into this problem and knows how to make it work, then that'd be an immense help to me.
Thanks in advance.
update
Currently I'm able to use the designer to customize a standard QWidget object (call it "ImageFilesWidget.ui"). So at the moment my solution is to add a standard QDockWidget to my QMainWindow in the designer, then (still in the designer) I promote the dockWidgetContents from a standard QWidget to my ImageFilesWidget class.
It seems like the problem is when qtcreator 4.5 creates the dockwidgets ui file for you, it doesn't include the "dockWidgetContents" widget that is included in previous versions. Just manually put <widget class="QWidget" name="dockWidgetContents"/> under the "windowTitle" property of the dockwidget and you'll be able to add ui elements to it.

Hide panels from the GUI (project panel and search/replace panel)

Looking for a way to hide panels in the Atom GUI... First of all the panel that lives on the left by default (project browser?). When editing a single HTML document, I have no need for this.
I also have a bottom panel for search/replace now as a result of hitting ctrl-f. No idea how to get rid of it again.
edit: I found the menu option to toggle the search panel:
Find > Toggle find in buffer
I've just disabled "tree-view" package and it has been hidden finally.
I hope, it would be helpful for someone else

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

open new tabs on NavBarItem clicked in Devexpress

I'm developing some Windows forms app with Devexpress, and I have something like below, a set of tabs are open which are related to "System parameters" and I want to a new set of tabs to open in place of older tabs when I click on Error navBarItem and also it should be vise versa, I saw this in demos but I don't know how to do it myself, thanks
I suggest you use a UserControl for each set of options, and when you click on an item of your navigation bar, you do the following :
Set the visible property of the current user control to false
Check if the user control associed to the clicked item exist, if yes, set it's visible property to true (reactivate it), otherwise, create an new instance of it, and dock it.
To manage this, you should have a a list of the user controls already opened, so you can reactivate them when needed.
This link may help you :-)

How to unlocalize an item under SDL Tridion using web client interface

I made a mistake localizing a page template under SDL Tridion and I want to unlocalize it but when I right click it the option "unlocalize" is not available. How can I do that? Is there another way to unlocalize items?
Thanks for your answers.
To localize or unlocalize an item, you must have Localize permissions for the Folder or Structure Group in which the item is stored. Also please note it can only be done in the Publication where the item is actually localized.
So if you do not see the option to unlocalize I would have your permissions checked, or you are in a parent or child Publication. The option should be available in your context (right click) menu under the BluePrinting sub menu, or you can select the item (single click which highlights it) and go to the Organize tab in the ribbon toolbar.

Resources