Can I change the "redmine" interface elements with "visual studio" or another system? - redmine

I use
Visual Studio 2015
Can I change the "redmine" interface elements with "visual studio" or another system?
For example, for the "task creation form" I want to add "buttons" or additional "tab bar".
Can this be done by analogy with working with "Windows Form"?
I mean drag the button onto the form and add the code for the button.
PS
I start to study programming, I apologize if the question is inaccurate

To change Redmine UI, and add/remove new features, you would have to learn html/css, ruby, and Ruby on Rails framework.
Once you learn them, best way to modify Redmine is by making plugin which adds functionality you want, and preferably share that plugin with others via github and redmine's plugin registry listed here: www.redmine.org/plugins
In that sense, you can use Visual Studio, as code editor, or any other text editor, as long as they have nice syntax coloring, code indenting, and preferably function and variable name completion...

Related

Flatten inherited members in Visual Studio's Watch window in C++?

This question is the same as this one, except that I'm debugging a C++ application. For the original question, a C# debugger has this functionality out-of-the-box now. Also, third-party tools for it exist.
Is there a way to achieve the same for C++? I'm currently using Visual Studio 2015.
EDIT 1
The classes in question are subject to change which limits use of Visual Studio's native Debugger Visualizers (natvis) feature. As far as I understand the custom visualizer will have to be modified every time the debugged class is changed, so that's not an option, regretfully.
Not find the third party tool or extension tool for VC++ directly in VS IDE, but I know that we could create custom view for VC++:
Reference:
https://msdn.microsoft.com/en-us/library/jj620914.aspx
It would be a workaround if you want to custom the debug watch view.
Update:
No other extension tool, but I help you submit a feature request to the product team here:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/18574198-flatten-inherited-members-in-visual-studio-s-watch
If possible, you could add your comment and vote it.

Adding a custom "template group" in Word 2013

Is it possible to add a custom template "tab" (for lack of a better term) to the start screen in Word 2013? In other words, is it possible to add another section in addition to "Featured" and "Personal?" in the interface below?
I'm interested in the feasibility of adding a, say, "Legal" tab, to surface templates developed specifically for an organization's legal department. I'm aware that a custom template directory can be pushed down via domain policy (read: registry edit) such that custom templates appear under the "Personal" tab, but that's not really ideal given the administrative overhead. Not to mention that the templates aren't "personal" at all.
Ideally, I'd like to accomplish this via an Office app. Looking at the JavaScript API for Office documentation, however, it doesn't seem immediately possible.
This post (via this SO question) describes the registry change and seems to suggest that customizing the "backstage" isn't possible.
Is such a customization possible? If so, via what means of customization? Using an Office add-in (managed), an Office app, some other registry modification...?
(And yes, I'm aware that "add-in" is the new term; for the sake of clarity I use the term "add-in" in the question to refer to the managed add-in project template available in Visual Studio 2013 as opposed to the Office app or Cloud app for Office templates)
You won't be able to add a custom group to the available template using the JavaScript-based Office Add-ins (This technology is rather limited in functionality - it's main advantage is that it can run cross-platform).
The approach to add custom templates is to create a Spotlight provider. It is described in detail here:
Deploy custom templates in Office 2010
The article talks about Office 2010, but it works also in Office 2013. You only would need to change the version number in the Registry Keys from 14.0 to 15.0.
Yes, I believe implementing a Backstage tab is possible by creating a Word 2013 VSTO add-in using Visual Studio 2013. (This is also possible by embedding Ribbon XML into a VBA add-in template that loads on start up as well.)
I will preface the course of action I outline below by saying that I think it would be easier and possibly provide a better UI experience to create a custom Legal ribbon tab with a gallery control populated by images of the templates. (A Custom Task Pane might also provide a good solution, depending on the use cases.)
Preparing Word
The screen capture you provided is the initial Backstage view that appears when Word 2013 is launched. (This view only appears at launch and future access to templates using this Word instance will need to be via the Backstage New tab.) As this Backstage "splash screen" cannot, to my knowledge, be modified, the first step is to disable it by going to File|Options|General|Startup Options and uncheck Show the Start screen when this application starts. This will cause Word to launch to a blank document and remove this splash screen permanently. And this setting can be pushed down to users PCs via group policy. (If you disabled this setting and then went the custom Ribbon tab route, you could have your templates displayed visually in the ribbon upon launch.)
The Approach
With the Backstage "splash screen" disabled, I suggest hiding the built-in Backstage New tab and then replacing it with a custom New tab that features your legal templates.
The Word Backstage view is altered via Ribbon XML code. This code is either embedded in a VBA template add-in or delivered via a VSTO add-in built in Visual Studio with C#, F#, or VB.NET. To hide the built-in New tab, the XML would contain this code:
<tab idMso="TabOfficeStart" visible="false"/>
You can find all the control identifiers here:
Office 2013 Fluent User Interface Control Identifiers
The Steps
Create the add-in project in Visual Studio (or the template in VBA)
Write the Ribbon XML which will remove the New tab and insert your custom tab with legal templates
Customizing the Office 2010 Backstage View for Developers (Applies to Office 2013 As Well)
Create Custom Tabs in the Office 2010 Backstage View (Applies to Office 2013 As Well)
Deploy the add-in
This should get you started, but you may need to seek out other articles on add-in creation and Backstage customizations.

C++ GUI testing of wizard installation

I'm a student (studying in programming) doing an intership in a company, but was hired in the department of "testing".
I am asked to create a c++ program to automate (for testing purposes) the installation of the software developed in house.
The installation goes through a Wizard to choose a couple of options (checkbox, dropdownlist, button, radiobutton) and then proceeds to install everything (it also asks at the end if the user wants to install another component).
The main idea is to set all the options of the installation in a window of the program, which would install the software afterward. The tester won't have to stay and set the "install options" manually during the completion of the installation.
What I want to know is, is it possible to make it as a C++ app? And, if yes, and do you know any library that would be useful for this task?
AutoIt
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys).
You may use the Qt framework which has a QWizard class for writing wizards in C++.
http://qt-project.org/doc/qt-4.8/qwizard.html
If you haven't used Qt before, picking up Qt basics (which should be enough to let you achieve your wizard) would be very easy and less time taking for you if your OOP is clear.

How to auto-generate settings/options dialog box?

Using Visual Studio 2010 C++ with MFC. The number of configurable settings in my application is slowly creeping up. I managed to design a settings class where adding a single line will add a setting to the program and support reading/writing that setting to my ini file. However, I still need to go into my gui editor and edit the options dialog box, moving text boxes around, aligning labels etc. which is kind of a pain.
How would I autogenerate my options dialog box such that I could give it a data structure and it could generate the option interface for me? It's okay if it's something like a list box. I'm thinking something like the the Visual Studio properties dialog box which has the look of something that's programmatically generated:
I'm just trying to get a conceptual overview of what controls would be best and how to piece it together. Of course if there is a link to a web page discussing this that would be great.
You want the CMFCPropertyGridCtrl class. It was introduced in one of the MFC updates, but I'm not sure whether or not they come pre-installed with Visual Studio 2010; you may need to install something extra.

C++ style menu bar in VB.NET?

Ive been looking a long time for this, but can't seem to find it. When I add a menu strip in vb .net, it looks like this:
http://img19.imageshack.us/img19/4341/menu1sbo.jpg http://img19.imageshack.us/img19/4341/menu1sbo.jpg
and I want it to look like the WinRar, Calculator, Notepad etc menus like this:
http://img8.imageshack.us/img8/307/menu1a.jpg http://img8.imageshack.us/img8/307/menu1a.jpg
From what I gathered, in vb 6 you could create a mainmenu and do it this way, but in vb .net it seems like all there is is ugly menustrip.
Thanks
You may have to get dirty and create a CustomRenderer(ToolStripProfessionalRenderer) to apply to the ToolStripManager
Without rehashing to much, this doc looks like a nice overview or you can always opt for the Microsoft tutorial
menustrip is derived from toolstrip
You may need to enable XP theme support in your project settings. To do this, go to My Project in your Solution Explorer, and make sure "Enable XP Visual Styles" is checked under the Windows application framework properties group down near the bottom of the Application tab.
If this doesn't work, you might need to create an application manifest as described in this MSDN article.
This question is quite old but for anyone else interested, you can find this type of menu in the .NET framework components. Just right click the Toolbox -> Choose items -> .NET Framework Components and filter for MainMenu. Works exactly like any other menu strip from what I've seen so far.